@cyanheads/astronomy-mcp-server 0.4.2 → 0.5.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 (31) hide show
  1. package/AGENTS.md +32 -15
  2. package/CLAUDE.md +32 -15
  3. package/Dockerfile +14 -7
  4. package/README.md +49 -20
  5. package/changelog/0.4.x/0.4.3.md +28 -0
  6. package/changelog/0.5.x/0.5.0.md +29 -0
  7. package/dist/index.js +2 -0
  8. package/dist/index.js.map +1 -1
  9. package/dist/mcp-server/prompts/definitions/stargazing-plan.prompt.js +1 -1
  10. package/dist/mcp-server/prompts/definitions/stargazing-plan.prompt.js.map +1 -1
  11. package/dist/mcp-server/tools/definitions/find-events.tool.d.ts.map +1 -1
  12. package/dist/mcp-server/tools/definitions/find-events.tool.js +3 -5
  13. package/dist/mcp-server/tools/definitions/find-events.tool.js.map +1 -1
  14. package/dist/mcp-server/tools/definitions/get-ephemeris.tool.d.ts.map +1 -1
  15. package/dist/mcp-server/tools/definitions/get-ephemeris.tool.js +5 -2
  16. package/dist/mcp-server/tools/definitions/get-ephemeris.tool.js.map +1 -1
  17. package/dist/mcp-server/tools/definitions/get-rise-set.tool.js +5 -5
  18. package/dist/mcp-server/tools/definitions/get-rise-set.tool.js.map +1 -1
  19. package/dist/mcp-server/tools/definitions/get-satellite-passes.tool.d.ts.map +1 -1
  20. package/dist/mcp-server/tools/definitions/get-satellite-passes.tool.js +3 -2
  21. package/dist/mcp-server/tools/definitions/get-satellite-passes.tool.js.map +1 -1
  22. package/dist/mcp-server/tools/definitions/list-visible.tool.js +1 -1
  23. package/dist/mcp-server/tools/definitions/list-visible.tool.js.map +1 -1
  24. package/dist/services/ephemeris/ephemeris-service.d.ts +9 -1
  25. package/dist/services/ephemeris/ephemeris-service.d.ts.map +1 -1
  26. package/dist/services/ephemeris/ephemeris-service.js +103 -25
  27. package/dist/services/ephemeris/ephemeris-service.js.map +1 -1
  28. package/dist/services/ephemeris/types.d.ts +3 -3
  29. package/package.json +11 -9
  30. package/server.json +3 -3
  31. package/skills/astronomy-guide/SKILL.md +55 -0
package/AGENTS.md CHANGED
@@ -1,11 +1,11 @@
1
1
  # Developer Protocol
2
2
 
3
3
  **Server:** astronomy-mcp-server
4
- **Version:** 0.4.2
5
- **Framework:** [@cyanheads/mcp-ts-core](https://www.npmjs.com/package/@cyanheads/mcp-ts-core) `^0.13.15`
4
+ **Version:** 0.5.0
5
+ **Framework:** [@cyanheads/mcp-ts-core](https://www.npmjs.com/package/@cyanheads/mcp-ts-core) `^0.13.18`
6
6
  **Engines:** Bun ≥1.4.0, Node ≥24.0.0
7
- **MCP SDK:** `@modelcontextprotocol/server` ^2.3.1
8
- **Zod:** ^4.6.6
7
+ **MCP SDK:** `@modelcontextprotocol/server` ^2.4.0
8
+ **Zod:** ^4.6.7
9
9
 
10
10
  > **Read the framework docs first:** `node_modules/@cyanheads/mcp-ts-core/CLAUDE.md` contains the full API reference — builders, Context, error codes, exports, patterns. This file covers server-specific conventions only.
11
11
 
@@ -25,7 +25,7 @@ Observational astronomy, computed in-process. The core is keyless and offline
25
25
  | `astronomy_find_events` | Next N (20 per call) of: equinox, solstice, moon_quarter, lunar/solar eclipse, opposition, conjunction (with the Sun, or two bodies via `body2`), max_elongation, perigee_apogee |
26
26
  | `astronomy_list_visible` | One-call "what is up now" — naked-eye bodies (+ optional catalog stars) above the horizon, ranked, with a sky-condition gate |
27
27
 
28
- Plus the `astronomy://body/{body}` resource (static reference card) and the `astronomy_stargazing_plan` prompt (chains the tools for a "plan tonight from <place>" workflow).
28
+ Plus the `astronomy://body/{body}` resource (static reference card) and the `astronomy_stargazing_plan` prompt (chains the tools for a "plan tonight from <place>" workflow). One published skill, `skills/astronomy-guide/SKILL.md`, carries the cross-tool workflows and gates the tool descriptions can't (local-night anchoring, listed ≠ visible, Moon interference, eclipses from a place, the extension gates); `createApp({ skills: 'skills' })` serves it over MCP. A behavior change that falsifies one of its claims updates the skill in the same commit.
29
29
 
30
30
  **Two gated, network-backed extensions** register only when their env gate is on (default deployment is keyless + offline):
31
31
 
@@ -45,6 +45,7 @@ Both extension services carry their own timeout + retry boundary, cache nothing
45
45
  - **Use `ctx.state`** for tenant-scoped storage. Never access persistence directly.
46
46
  - **Need input the caller didn't supply?** `return ctx.requestInput(...)` and read `ctx.inputs` when the handler is re-entered. Never `await` for user input mid-handler. No handler here does — every tool is a pure computation over its arguments, which is why the server runs stateless.
47
47
  - **Secrets in env vars only** — never hardcoded.
48
+ - **Cut noise.** Add only what earns its place: no speculative generality, no guards for states the framework already prevents (Zod-validated params, classified errors), no abstraction until a third caller proves it, no option nothing sets.
48
49
  - **Close the loop on issues.** When implementing work tracked by a GitHub issue, comment on the issue with what landed and close it. Do both — a comment without a close leaves stale issues open; a close without a comment leaves no record of what shipped. The comment is for future readers — state the concrete changes, not the conversation that produced them.
49
50
 
50
51
  ---
@@ -271,7 +272,7 @@ throw new Error('Invalid query format'); // → ValidationError
271
272
 
272
273
  // McpError — when no factory exists for the code
273
274
  import { McpError, JsonRpcErrorCode } from '@cyanheads/mcp-ts-core/errors';
274
- throw new McpError(JsonRpcErrorCode.DatabaseError, 'Connection failed', { pool: 'primary' });
275
+ throw new McpError(JsonRpcErrorCode.InitializationFailed, 'Connection failed', { pool: 'primary' });
275
276
  ```
276
277
 
277
278
  See framework CLAUDE.md and the `api-errors` skill for the full auto-classification table, all available factories, and the contract reference.
@@ -313,9 +314,18 @@ src/
313
314
 
314
315
  ## Skills
315
316
 
316
- Skills are modular instructions in `framework-skills/` at the project root. Read them directly when a task matches — e.g., `framework-skills/add-tool/SKILL.md` when adding a tool. `bun run list-skills` prints the full registry. The directory is deliberately not `skills/`: Claude Code and Codex auto-load a plugin's root `skills/`, so a server that ships `.claude-plugin/` or `.codex-plugin/` — this one ships both — would hand these development skills to every agent that installs it. Keep `skills/` free for skills meant for those agents.
317
+ Two skill trees live at the project root, written for different readers:
317
318
 
318
- **Agent skill directory:** Copy skills into the directory your agent discovers (Claude Code: `.claude/skills/`, others: equivalent). Skills then load as context without referencing `framework-skills/` paths. After framework updates, run the `maintenance` skill — Phase B re-syncs the agent directory.
319
+ | Tree | For | Written by |
320
+ |:-----|:----|:-----------|
321
+ | `framework-skills/` | The agent developing this server — framework skills (`metadata.audience: external`) plus any development-time skills of the server's own | `init` and the `maintenance` sync (framework skills); you (your own) |
322
+ | `skills/` | The agents that install the server and call its tools — tool chains, identifier sources, gates | You, deliberately, with the `add-skill` skill. Absent by default; usually none is needed |
323
+
324
+ Development skills are modular instructions. Read them directly when a task matches — e.g., `framework-skills/add-tool/SKILL.md` when adding a tool. `bun run list-skills` prints the full registry. Their directory is deliberately not `skills/`: Claude Code and Codex auto-load a plugin's root `skills/`, so a server that ships `.claude-plugin/` or `.codex-plugin/` — this one ships both — would hand them to every agent that installs it.
325
+
326
+ A published skill in root `skills/` reaches plugin installs and the `.mcpb` bundle as-is, ships in the npm package and the Docker image, and reaches MCP clients when the server opts in with `createApp({ skills: 'skills' })`. `lint:packaging` validates the tree.
327
+
328
+ **Agent skill directory:** Copy `framework-skills/` into the directory your agent discovers (Claude Code: `.claude/skills/`, others: equivalent). Skills then load as context without referencing `framework-skills/` paths. After framework updates, run the `maintenance` skill — Phase B re-syncs the agent directory.
319
329
 
320
330
  Available skills:
321
331
 
@@ -327,6 +337,7 @@ Available skills:
327
337
  | `add-app-tool` | Scaffold an MCP App tool + paired UI resource |
328
338
  | `add-resource` | Scaffold a new resource definition |
329
339
  | `add-prompt` | Scaffold a new prompt definition |
340
+ | `add-skill` | Author a skill the server publishes in root `skills/` for the agents that use it — when one earns its place, structure, validation, delivery |
330
341
  | `add-service` | Scaffold a new service integration |
331
342
  | `add-test` | Scaffold test file for a tool, resource, or service |
332
343
  | `field-test` | Exercise tools/resources/prompts with real inputs, verify behavior, report issues |
@@ -371,9 +382,10 @@ When you complete a skill's checklist, check the boxes and add a completion time
371
382
  | `bun run rebuild` | Clean + build |
372
383
  | `bun run clean` | Remove build artifacts |
373
384
  | `bun run devcheck` | Lint + format + typecheck + security + changelog sync |
374
- | `bun run audit:refresh` | Delete `bun.lock`, reinstall, and re-run `bun audit`. Use when `devcheck` flags a transitive advisory — Bun's `update` is sticky on transitive resolutions, so the advisory may be a stale-lockfile false positive. If it survives the refresh, it's real. |
385
+ | `bun run audit:fix` | `bun audit fix` — upgrade vulnerable packages to the lowest safe version within existing ranges (`--dry-run` previews, `--latest` rewrites ranges). First response when `devcheck` flags a transitive advisory; then `bun update <name>`, then `bun dedupe` |
386
+ | `bun run audit:refresh` | Delete `bun.lock` and reinstall. Last resort after `audit:fix`, `bun update <name>`, and `bun dedupe` — re-resolves every ranged dep (the framework pin included) and rewrites the lockfile as `lockfileVersion: 2` |
375
387
  | `bun run lint:mcp` | Run the MCP definition linter standalone (rule catalog: `api-linter` skill) |
376
- | `bun run lint:packaging` | Packaging surface checks — `server.json`/`manifest.json` env-var parity (run by devcheck) |
388
+ | `bun run lint:packaging` | Packaging surface checks — `server.json`/`manifest.json` env-var parity, `.mcpbignore` coverage, plugin manifests, the published `skills/` tree (run by devcheck) |
377
389
  | `bun run list-skills` | Print the skill registry |
378
390
  | `bun run tree` | Generate directory structure doc |
379
391
  | `bun run format` | Auto-fix formatting (safe fixes only) |
@@ -387,11 +399,13 @@ When you complete a skill's checklist, check the boxes and add a completion time
387
399
 
388
400
  ---
389
401
 
402
+ **CI is one file.** `.github/workflows/codeql.yml` (scaffolded) is the only GitHub Actions workflow: CodeQL is GitHub-owned end to end, and the file runs only while the repo's CodeQL *default setup* is turned off. Verification — `devcheck`, tests, the release gates — runs locally; don't add a workflow that re-runs it.
403
+
390
404
  ## Bundling
391
405
 
392
- `bun run bundle` produces a `.mcpb` extension bundle for one-click install in Claude Desktop. The pack step is followed by `scripts/clean-mcpb.ts`, which prunes dev dependencies (`mcpb clean`) and strips two classes of `node_modules/**` content that root-anchored `.mcpbignore` patterns cannot reach: dependency-shipped agent docs (`framework-skills/`, `skills/`, `.claude/`, `.agents/`, `SKILL.md`) and platform-specific native bindings, which would otherwise lock the bundle to the platform it was packed on. MCPB is stdio-only — HTTP and Cloudflare Workers deployments are unaffected. Consumers who don't need it can delete `manifest.json` and `.mcpbignore`; `lint:packaging` skips cleanly.
406
+ `bun run bundle` produces a `.mcpb` extension bundle for one-click install in Claude Desktop. `mcpb pack` reads `.mcpbignore`, not `.gitignore`, so every root path the bundle must not ship — source, tests, docs, caches, logs, agent docs, plugin manifests, gitignored local files such as `/CITATION.cff` and `/.tsbuildinfo` — needs a root-anchored line there (`/docs/`, never `docs/`, which also strips `node_modules/*/docs/`); `lint:packaging` names each missing or unanchored line. Root `skills/` ships on purpose. The pack step is followed by `scripts/clean-mcpb.ts`, which prunes dev dependencies (`mcpb clean`) and strips four classes of `node_modules/**` content that root-anchored `.mcpbignore` patterns cannot reach: dependency-shipped agent docs (`framework-skills/`, `skills/`, `.claude/`, `.agents/`, `SKILL.md`), the directory trees matched only at a package root because the MCP SDK loads its own `dist/ext/skills/` at startup ([cyanheads/mcp-ts-core#794](https://github.com/cyanheads/mcp-ts-core/issues/794)); platform-specific native bindings, which would otherwise lock the bundle to the platform it was packed on; node-gyp build output beside a `binding.gyp`, which records the packing machine's paths; and build-only package files — the framework's `changelog/`, `scripts/`, `templates/`, `CLAUDE.md`, `AGENTS.md`, and config bases. `tests/scripts/packaging-regexes.test.ts` pins the cleaner's and the linter's matchers against each other. MCPB is stdio-only — HTTP and Cloudflare Workers deployments are unaffected. Consumers who don't need it can delete `manifest.json` and `.mcpbignore`; `lint:packaging` skips cleanly.
393
407
 
394
- **Adding an env var requires both files:** `server.json` (registry discovery, `environmentVariables[]`) and `manifest.json` (bundle install UX, `mcp_config.env` + `user_config`). `lint:packaging` (run by `devcheck`) verifies the env var names match.
408
+ **Adding an env var requires both files:** `server.json` (registry discovery, `environmentVariables[]`) and `manifest.json` (bundle install UX, `mcp_config.env` + `user_config`). `lint:packaging` (run by `devcheck`) verifies the env var names match, that every `user_config` option is wired into `mcp_config.env` as `"X": "${user_config.X}"` (the host substitutes nothing else — `"${X}"` reaches the server as that literal string), and that an optional string option carries `"default": ""`.
395
409
 
396
410
  **README install badges** (Claude Desktop `.mcpb`, Cursor, VS Code) and the `base64` / `encodeURIComponent` config-generation commands are ship-time concerns — run the `polish-docs-meta` skill, which carries the badge format, layout, and generation snippets in `framework-skills/polish-docs-meta/references/readme.md`.
397
411
 
@@ -456,7 +470,10 @@ import { getMyService } from '@/services/my-domain/my-service.js';
456
470
  - [ ] If wrapping external API: tests include at least one sparse payload case with omitted upstream fields
457
471
  - [ ] Registered in `createApp()` arrays (directly or via barrel exports)
458
472
  - [ ] Tests use `createMockContext()` from `@cyanheads/mcp-ts-core/testing`
459
- - [ ] `.codex-plugin/plugin.json` populated — `name`, `version`, `description`, `repository`, `license` from `package.json`; `interface.displayName` = package name; `interface.shortDescription` from `package.json` description
460
- - [ ] `.codex-plugin/mcp.json` updated — server name key matches `package.json` name; env vars added for any required API keys
461
- - [ ] `.claude-plugin/plugin.json` populated — `name`, `version`, `description`, `repository`, `license` from `package.json`; inline `mcpServers` entry with server name key, env vars for any required API keys
473
+ - [ ] `plugin.json` + `mcp.json` (Agent Plugins 1.0.0 — read by Codex, Cursor, GitHub Copilot, VS Code, Kiro) populated — `plugin.json` `name` = the unscoped repo name (lowercase `a-z`, `0-9`, `-`, `.` only); `version`, `description`, `author`, `homepage`, `repository`, `license`, `keywords` from `package.json`; no other top-level field, `extensions` included. `mcp.json` holds one `"type": "stdio"` entry keyed by the unscoped name, `npx -y <full package name>`, and the same fixed `env` as `.codex-plugin/mcp.json`. Neither file carries a user-supplied variable (no `""`, no `${…}` besides `${PLUGIN_ROOT}`/`${PLUGIN_DATA}`): keys reach Codex through `.codex-plugin/mcp.json` `env_vars`, which works only while `.codex-plugin/plugin.json` keeps `"mcpServers": "./.codex-plugin/mcp.json"`
474
+ - [ ] `.codex-plugin/plugin.json` populated — `name`, `version`, `description`, `repository`, `license` from `package.json`; `interface.displayName` = the unscoped repo name (never the npm scope — `lint:packaging` enforces this); `interface.shortDescription` from `package.json` description
475
+ - [ ] `.codex-plugin/mcp.json` updated — server name key is the unscoped repo name; every user-supplied variable (API key, contact email, instance URL) is listed in `env_vars` so Codex forwards it from the user's environment. Never write `"KEY": ""` into `env` — an empty value replaces the user's exported key and is read as unset
476
+ - [ ] `.claude-plugin/plugin.json` populated — `name`, `version`, `description`, `author`, `repository`, `license`, `keywords` from `package.json`; inline `mcpServers` entry keyed by the unscoped repo name. Every user-supplied variable is declared under `userConfig` (`type`, `title`, `description`; `sensitive: true` for keys and tokens; `required: true` or `default: ""`) and referenced from `env` as `"KEY": "${user_config.<option>}"` — mirror the `user_config` block in `manifest.json`. Never write `"KEY": ""` into `env`
477
+ - [ ] Any new root dev path has a root-anchored line in `.mcpbignore`; `bun run bundle` and `lint:packaging` pass
478
+ - [ ] If the server publishes a skill in root `skills/`: `lint:packaging` passes, and `field-test` verified every gate and identifier claim in it against live tool behavior
462
479
  - [ ] `npm run devcheck` passes
package/CLAUDE.md CHANGED
@@ -1,11 +1,11 @@
1
1
  # Developer Protocol
2
2
 
3
3
  **Server:** astronomy-mcp-server
4
- **Version:** 0.4.2
5
- **Framework:** [@cyanheads/mcp-ts-core](https://www.npmjs.com/package/@cyanheads/mcp-ts-core) `^0.13.15`
4
+ **Version:** 0.5.0
5
+ **Framework:** [@cyanheads/mcp-ts-core](https://www.npmjs.com/package/@cyanheads/mcp-ts-core) `^0.13.18`
6
6
  **Engines:** Bun ≥1.4.0, Node ≥24.0.0
7
- **MCP SDK:** `@modelcontextprotocol/server` ^2.3.1
8
- **Zod:** ^4.6.6
7
+ **MCP SDK:** `@modelcontextprotocol/server` ^2.4.0
8
+ **Zod:** ^4.6.7
9
9
 
10
10
  > **Read the framework docs first:** `node_modules/@cyanheads/mcp-ts-core/CLAUDE.md` contains the full API reference — builders, Context, error codes, exports, patterns. This file covers server-specific conventions only.
11
11
 
@@ -25,7 +25,7 @@ Observational astronomy, computed in-process. The core is keyless and offline
25
25
  | `astronomy_find_events` | Next N (20 per call) of: equinox, solstice, moon_quarter, lunar/solar eclipse, opposition, conjunction (with the Sun, or two bodies via `body2`), max_elongation, perigee_apogee |
26
26
  | `astronomy_list_visible` | One-call "what is up now" — naked-eye bodies (+ optional catalog stars) above the horizon, ranked, with a sky-condition gate |
27
27
 
28
- Plus the `astronomy://body/{body}` resource (static reference card) and the `astronomy_stargazing_plan` prompt (chains the tools for a "plan tonight from <place>" workflow).
28
+ Plus the `astronomy://body/{body}` resource (static reference card) and the `astronomy_stargazing_plan` prompt (chains the tools for a "plan tonight from <place>" workflow). One published skill, `skills/astronomy-guide/SKILL.md`, carries the cross-tool workflows and gates the tool descriptions can't (local-night anchoring, listed ≠ visible, Moon interference, eclipses from a place, the extension gates); `createApp({ skills: 'skills' })` serves it over MCP. A behavior change that falsifies one of its claims updates the skill in the same commit.
29
29
 
30
30
  **Two gated, network-backed extensions** register only when their env gate is on (default deployment is keyless + offline):
31
31
 
@@ -45,6 +45,7 @@ Both extension services carry their own timeout + retry boundary, cache nothing
45
45
  - **Use `ctx.state`** for tenant-scoped storage. Never access persistence directly.
46
46
  - **Need input the caller didn't supply?** `return ctx.requestInput(...)` and read `ctx.inputs` when the handler is re-entered. Never `await` for user input mid-handler. No handler here does — every tool is a pure computation over its arguments, which is why the server runs stateless.
47
47
  - **Secrets in env vars only** — never hardcoded.
48
+ - **Cut noise.** Add only what earns its place: no speculative generality, no guards for states the framework already prevents (Zod-validated params, classified errors), no abstraction until a third caller proves it, no option nothing sets.
48
49
  - **Close the loop on issues.** When implementing work tracked by a GitHub issue, comment on the issue with what landed and close it. Do both — a comment without a close leaves stale issues open; a close without a comment leaves no record of what shipped. The comment is for future readers — state the concrete changes, not the conversation that produced them.
49
50
 
50
51
  ---
@@ -271,7 +272,7 @@ throw new Error('Invalid query format'); // → ValidationError
271
272
 
272
273
  // McpError — when no factory exists for the code
273
274
  import { McpError, JsonRpcErrorCode } from '@cyanheads/mcp-ts-core/errors';
274
- throw new McpError(JsonRpcErrorCode.DatabaseError, 'Connection failed', { pool: 'primary' });
275
+ throw new McpError(JsonRpcErrorCode.InitializationFailed, 'Connection failed', { pool: 'primary' });
275
276
  ```
276
277
 
277
278
  See framework CLAUDE.md and the `api-errors` skill for the full auto-classification table, all available factories, and the contract reference.
@@ -313,9 +314,18 @@ src/
313
314
 
314
315
  ## Skills
315
316
 
316
- Skills are modular instructions in `framework-skills/` at the project root. Read them directly when a task matches — e.g., `framework-skills/add-tool/SKILL.md` when adding a tool. `bun run list-skills` prints the full registry. The directory is deliberately not `skills/`: Claude Code and Codex auto-load a plugin's root `skills/`, so a server that ships `.claude-plugin/` or `.codex-plugin/` — this one ships both — would hand these development skills to every agent that installs it. Keep `skills/` free for skills meant for those agents.
317
+ Two skill trees live at the project root, written for different readers:
317
318
 
318
- **Agent skill directory:** Copy skills into the directory your agent discovers (Claude Code: `.claude/skills/`, others: equivalent). Skills then load as context without referencing `framework-skills/` paths. After framework updates, run the `maintenance` skill — Phase B re-syncs the agent directory.
319
+ | Tree | For | Written by |
320
+ |:-----|:----|:-----------|
321
+ | `framework-skills/` | The agent developing this server — framework skills (`metadata.audience: external`) plus any development-time skills of the server's own | `init` and the `maintenance` sync (framework skills); you (your own) |
322
+ | `skills/` | The agents that install the server and call its tools — tool chains, identifier sources, gates | You, deliberately, with the `add-skill` skill. Absent by default; usually none is needed |
323
+
324
+ Development skills are modular instructions. Read them directly when a task matches — e.g., `framework-skills/add-tool/SKILL.md` when adding a tool. `bun run list-skills` prints the full registry. Their directory is deliberately not `skills/`: Claude Code and Codex auto-load a plugin's root `skills/`, so a server that ships `.claude-plugin/` or `.codex-plugin/` — this one ships both — would hand them to every agent that installs it.
325
+
326
+ A published skill in root `skills/` reaches plugin installs and the `.mcpb` bundle as-is, ships in the npm package and the Docker image, and reaches MCP clients when the server opts in with `createApp({ skills: 'skills' })`. `lint:packaging` validates the tree.
327
+
328
+ **Agent skill directory:** Copy `framework-skills/` into the directory your agent discovers (Claude Code: `.claude/skills/`, others: equivalent). Skills then load as context without referencing `framework-skills/` paths. After framework updates, run the `maintenance` skill — Phase B re-syncs the agent directory.
319
329
 
320
330
  Available skills:
321
331
 
@@ -327,6 +337,7 @@ Available skills:
327
337
  | `add-app-tool` | Scaffold an MCP App tool + paired UI resource |
328
338
  | `add-resource` | Scaffold a new resource definition |
329
339
  | `add-prompt` | Scaffold a new prompt definition |
340
+ | `add-skill` | Author a skill the server publishes in root `skills/` for the agents that use it — when one earns its place, structure, validation, delivery |
330
341
  | `add-service` | Scaffold a new service integration |
331
342
  | `add-test` | Scaffold test file for a tool, resource, or service |
332
343
  | `field-test` | Exercise tools/resources/prompts with real inputs, verify behavior, report issues |
@@ -371,9 +382,10 @@ When you complete a skill's checklist, check the boxes and add a completion time
371
382
  | `bun run rebuild` | Clean + build |
372
383
  | `bun run clean` | Remove build artifacts |
373
384
  | `bun run devcheck` | Lint + format + typecheck + security + changelog sync |
374
- | `bun run audit:refresh` | Delete `bun.lock`, reinstall, and re-run `bun audit`. Use when `devcheck` flags a transitive advisory — Bun's `update` is sticky on transitive resolutions, so the advisory may be a stale-lockfile false positive. If it survives the refresh, it's real. |
385
+ | `bun run audit:fix` | `bun audit fix` — upgrade vulnerable packages to the lowest safe version within existing ranges (`--dry-run` previews, `--latest` rewrites ranges). First response when `devcheck` flags a transitive advisory; then `bun update <name>`, then `bun dedupe` |
386
+ | `bun run audit:refresh` | Delete `bun.lock` and reinstall. Last resort after `audit:fix`, `bun update <name>`, and `bun dedupe` — re-resolves every ranged dep (the framework pin included) and rewrites the lockfile as `lockfileVersion: 2` |
375
387
  | `bun run lint:mcp` | Run the MCP definition linter standalone (rule catalog: `api-linter` skill) |
376
- | `bun run lint:packaging` | Packaging surface checks — `server.json`/`manifest.json` env-var parity (run by devcheck) |
388
+ | `bun run lint:packaging` | Packaging surface checks — `server.json`/`manifest.json` env-var parity, `.mcpbignore` coverage, plugin manifests, the published `skills/` tree (run by devcheck) |
377
389
  | `bun run list-skills` | Print the skill registry |
378
390
  | `bun run tree` | Generate directory structure doc |
379
391
  | `bun run format` | Auto-fix formatting (safe fixes only) |
@@ -387,11 +399,13 @@ When you complete a skill's checklist, check the boxes and add a completion time
387
399
 
388
400
  ---
389
401
 
402
+ **CI is one file.** `.github/workflows/codeql.yml` (scaffolded) is the only GitHub Actions workflow: CodeQL is GitHub-owned end to end, and the file runs only while the repo's CodeQL *default setup* is turned off. Verification — `devcheck`, tests, the release gates — runs locally; don't add a workflow that re-runs it.
403
+
390
404
  ## Bundling
391
405
 
392
- `bun run bundle` produces a `.mcpb` extension bundle for one-click install in Claude Desktop. The pack step is followed by `scripts/clean-mcpb.ts`, which prunes dev dependencies (`mcpb clean`) and strips two classes of `node_modules/**` content that root-anchored `.mcpbignore` patterns cannot reach: dependency-shipped agent docs (`framework-skills/`, `skills/`, `.claude/`, `.agents/`, `SKILL.md`) and platform-specific native bindings, which would otherwise lock the bundle to the platform it was packed on. MCPB is stdio-only — HTTP and Cloudflare Workers deployments are unaffected. Consumers who don't need it can delete `manifest.json` and `.mcpbignore`; `lint:packaging` skips cleanly.
406
+ `bun run bundle` produces a `.mcpb` extension bundle for one-click install in Claude Desktop. `mcpb pack` reads `.mcpbignore`, not `.gitignore`, so every root path the bundle must not ship — source, tests, docs, caches, logs, agent docs, plugin manifests, gitignored local files such as `/CITATION.cff` and `/.tsbuildinfo` — needs a root-anchored line there (`/docs/`, never `docs/`, which also strips `node_modules/*/docs/`); `lint:packaging` names each missing or unanchored line. Root `skills/` ships on purpose. The pack step is followed by `scripts/clean-mcpb.ts`, which prunes dev dependencies (`mcpb clean`) and strips four classes of `node_modules/**` content that root-anchored `.mcpbignore` patterns cannot reach: dependency-shipped agent docs (`framework-skills/`, `skills/`, `.claude/`, `.agents/`, `SKILL.md`), the directory trees matched only at a package root because the MCP SDK loads its own `dist/ext/skills/` at startup ([cyanheads/mcp-ts-core#794](https://github.com/cyanheads/mcp-ts-core/issues/794)); platform-specific native bindings, which would otherwise lock the bundle to the platform it was packed on; node-gyp build output beside a `binding.gyp`, which records the packing machine's paths; and build-only package files — the framework's `changelog/`, `scripts/`, `templates/`, `CLAUDE.md`, `AGENTS.md`, and config bases. `tests/scripts/packaging-regexes.test.ts` pins the cleaner's and the linter's matchers against each other. MCPB is stdio-only — HTTP and Cloudflare Workers deployments are unaffected. Consumers who don't need it can delete `manifest.json` and `.mcpbignore`; `lint:packaging` skips cleanly.
393
407
 
394
- **Adding an env var requires both files:** `server.json` (registry discovery, `environmentVariables[]`) and `manifest.json` (bundle install UX, `mcp_config.env` + `user_config`). `lint:packaging` (run by `devcheck`) verifies the env var names match.
408
+ **Adding an env var requires both files:** `server.json` (registry discovery, `environmentVariables[]`) and `manifest.json` (bundle install UX, `mcp_config.env` + `user_config`). `lint:packaging` (run by `devcheck`) verifies the env var names match, that every `user_config` option is wired into `mcp_config.env` as `"X": "${user_config.X}"` (the host substitutes nothing else — `"${X}"` reaches the server as that literal string), and that an optional string option carries `"default": ""`.
395
409
 
396
410
  **README install badges** (Claude Desktop `.mcpb`, Cursor, VS Code) and the `base64` / `encodeURIComponent` config-generation commands are ship-time concerns — run the `polish-docs-meta` skill, which carries the badge format, layout, and generation snippets in `framework-skills/polish-docs-meta/references/readme.md`.
397
411
 
@@ -456,7 +470,10 @@ import { getMyService } from '@/services/my-domain/my-service.js';
456
470
  - [ ] If wrapping external API: tests include at least one sparse payload case with omitted upstream fields
457
471
  - [ ] Registered in `createApp()` arrays (directly or via barrel exports)
458
472
  - [ ] Tests use `createMockContext()` from `@cyanheads/mcp-ts-core/testing`
459
- - [ ] `.codex-plugin/plugin.json` populated — `name`, `version`, `description`, `repository`, `license` from `package.json`; `interface.displayName` = package name; `interface.shortDescription` from `package.json` description
460
- - [ ] `.codex-plugin/mcp.json` updated — server name key matches `package.json` name; env vars added for any required API keys
461
- - [ ] `.claude-plugin/plugin.json` populated — `name`, `version`, `description`, `repository`, `license` from `package.json`; inline `mcpServers` entry with server name key, env vars for any required API keys
473
+ - [ ] `plugin.json` + `mcp.json` (Agent Plugins 1.0.0 — read by Codex, Cursor, GitHub Copilot, VS Code, Kiro) populated — `plugin.json` `name` = the unscoped repo name (lowercase `a-z`, `0-9`, `-`, `.` only); `version`, `description`, `author`, `homepage`, `repository`, `license`, `keywords` from `package.json`; no other top-level field, `extensions` included. `mcp.json` holds one `"type": "stdio"` entry keyed by the unscoped name, `npx -y <full package name>`, and the same fixed `env` as `.codex-plugin/mcp.json`. Neither file carries a user-supplied variable (no `""`, no `${…}` besides `${PLUGIN_ROOT}`/`${PLUGIN_DATA}`): keys reach Codex through `.codex-plugin/mcp.json` `env_vars`, which works only while `.codex-plugin/plugin.json` keeps `"mcpServers": "./.codex-plugin/mcp.json"`
474
+ - [ ] `.codex-plugin/plugin.json` populated — `name`, `version`, `description`, `repository`, `license` from `package.json`; `interface.displayName` = the unscoped repo name (never the npm scope — `lint:packaging` enforces this); `interface.shortDescription` from `package.json` description
475
+ - [ ] `.codex-plugin/mcp.json` updated — server name key is the unscoped repo name; every user-supplied variable (API key, contact email, instance URL) is listed in `env_vars` so Codex forwards it from the user's environment. Never write `"KEY": ""` into `env` — an empty value replaces the user's exported key and is read as unset
476
+ - [ ] `.claude-plugin/plugin.json` populated — `name`, `version`, `description`, `author`, `repository`, `license`, `keywords` from `package.json`; inline `mcpServers` entry keyed by the unscoped repo name. Every user-supplied variable is declared under `userConfig` (`type`, `title`, `description`; `sensitive: true` for keys and tokens; `required: true` or `default: ""`) and referenced from `env` as `"KEY": "${user_config.<option>}"` — mirror the `user_config` block in `manifest.json`. Never write `"KEY": ""` into `env`
477
+ - [ ] Any new root dev path has a root-anchored line in `.mcpbignore`; `bun run bundle` and `lint:packaging` pass
478
+ - [ ] If the server publishes a skill in root `skills/`: `lint:packaging` passes, and `field-test` verified every gate and identifier claim in it against live tool behavior
462
479
  - [ ] `npm run devcheck` passes
package/Dockerfile CHANGED
@@ -14,7 +14,7 @@
14
14
  # output. A stage that compiles a native addon needs the target-arch toolchain
15
15
  # and cannot cross-compile this way — drop the flag there.
16
16
  # ==============================================================================
17
- FROM --platform=$BUILDPLATFORM oven/bun:1.4.3 AS build
17
+ FROM --platform=$BUILDPLATFORM oven/bun:1.4.4 AS build
18
18
 
19
19
  WORKDIR /usr/src/app
20
20
 
@@ -29,6 +29,11 @@ RUN --mount=type=cache,target=/root/.bun/install/cache \
29
29
  # Copy the rest of the source code
30
30
  COPY . .
31
31
 
32
+ # The skills a server publishes (`createApp({ skills: 'skills' })`) are read at
33
+ # runtime from the application root. Created when the project has none, so the
34
+ # production stage's copy below holds with or without one.
35
+ RUN mkdir -p skills
36
+
32
37
  # Build the application
33
38
  RUN bun run build
34
39
 
@@ -46,7 +51,7 @@ RUN bun run build
46
51
  # A clean image rather than `FROM build`: the build stage's node_modules holds
47
52
  # devDependencies.
48
53
  # ==============================================================================
49
- FROM --platform=$BUILDPLATFORM oven/bun:1.4.3 AS deps
54
+ FROM --platform=$BUILDPLATFORM oven/bun:1.4.4 AS deps
50
55
 
51
56
  WORKDIR /usr/src/app
52
57
 
@@ -94,10 +99,11 @@ RUN --mount=type=cache,target=/root/.bun/install/cache \
94
99
  fi
95
100
 
96
101
  # `--os`/`--cpu` have no libc counterpart, so a native dependency published in
97
- # glibc and musl variants installs both. The runtime image is Debian (glibc) and
98
- # never loads the musl copy; the script deletes every package whose own `libc`
99
- # admits only musl. It follows every install, since a later `bun install`
100
- # restores what it removes.
102
+ # glibc and musl variants (DuckDB's bindings, for one) installs both. The
103
+ # runtime image is Debian (glibc) and never loads the musl copy; the script
104
+ # deletes every package whose own `libc` admits only musl. It follows every
105
+ # install, since a later `bun install` restores what it removes. A server on a
106
+ # musl (Alpine) runtime image drops these two lines.
101
107
  COPY scripts/prune-musl-packages.ts ./scripts/
102
108
  RUN bun scripts/prune-musl-packages.ts
103
109
 
@@ -113,7 +119,7 @@ RUN rm -rf node_modules/@socketsecurity/bun-security-scanner
113
119
  # dependencies and build artifacts. Its only Bun invocations are HEALTHCHECK
114
120
  # and CMD, which run on the real target at container start.
115
121
  # ==============================================================================
116
- FROM oven/bun:1.4.3-slim AS production
122
+ FROM oven/bun:1.4.4-slim AS production
117
123
 
118
124
  WORKDIR /usr/src/app
119
125
 
@@ -135,6 +141,7 @@ COPY --from=deps /usr/src/app/node_modules ./node_modules
135
141
 
136
142
  # Copy the compiled application code from the build stage
137
143
  COPY --from=build /usr/src/app/dist ./dist
144
+ COPY --from=build /usr/src/app/skills ./skills
138
145
 
139
146
  # The 'oven/bun' image already provides a non-root user named 'bun'.
140
147
  # We will use this existing user for enhanced security.
package/README.md CHANGED
@@ -1,13 +1,13 @@
1
1
  <div align="center">
2
2
  <h1>@cyanheads/astronomy-mcp-server</h1>
3
3
  <p><b>What's in the sky, computed offline — planet and moon positions, rise/set, phases, eclipses, and seasons for any place and time via MCP. STDIO or Streamable HTTP.</b>
4
- <div>7 Tools • 1 Resource • 1 Prompt</div>
4
+ <div>7 Tools • 1 Resource • 1 Prompt • 1 Skill</div>
5
5
  </p>
6
6
  </div>
7
7
 
8
8
  <div align="center">
9
9
 
10
- [![Version](https://img.shields.io/badge/Version-0.4.2-blue.svg?style=flat-square)](./CHANGELOG.md) [![License](https://img.shields.io/badge/License-Apache%202.0-orange.svg?style=flat-square)](./LICENSE) [![Docker](https://img.shields.io/badge/Docker-ghcr.io-2496ED?style=flat-square&logo=docker&logoColor=white)](https://github.com/users/cyanheads/packages/container/package/astronomy-mcp-server) [![MCP SDK](https://img.shields.io/badge/MCP%20SDK-^2.3.1-green.svg?style=flat-square)](https://modelcontextprotocol.io/) [![npm](https://img.shields.io/npm/v/@cyanheads/astronomy-mcp-server?style=flat-square&logo=npm&logoColor=white)](https://www.npmjs.com/package/@cyanheads/astronomy-mcp-server) [![TypeScript](https://img.shields.io/badge/TypeScript-^7.0.2-3178C6.svg?style=flat-square)](https://www.typescriptlang.org/) [![Bun](https://img.shields.io/badge/Bun-v1.4.3-blueviolet.svg?style=flat-square)](https://bun.sh/)
10
+ [![Version](https://img.shields.io/badge/Version-0.5.0-blue.svg?style=flat-square)](./CHANGELOG.md) [![License](https://img.shields.io/badge/License-Apache%202.0-orange.svg?style=flat-square)](./LICENSE) [![Docker](https://img.shields.io/badge/Docker-ghcr.io-2496ED?style=flat-square&logo=docker&logoColor=white)](https://github.com/users/cyanheads/packages/container/package/astronomy-mcp-server) [![MCP SDK](https://img.shields.io/badge/MCP%20SDK-^2.4.0-green.svg?style=flat-square)](https://modelcontextprotocol.io/) [![npm](https://img.shields.io/npm/v/@cyanheads/astronomy-mcp-server?style=flat-square&logo=npm&logoColor=white)](https://www.npmjs.com/package/@cyanheads/astronomy-mcp-server) [![TypeScript](https://img.shields.io/badge/TypeScript-^7.0.2-3178C6.svg?style=flat-square)](https://www.typescriptlang.org/) [![Bun](https://img.shields.io/badge/Bun-v1.4.4-blueviolet.svg?style=flat-square)](https://bun.sh/)
11
11
 
12
12
  </div>
13
13
 
@@ -29,7 +29,7 @@
29
29
 
30
30
  ## Overview
31
31
 
32
- Observational astronomy computed in-process by [`astronomy-engine`](https://github.com/cosinekitty/astronomy) and a bundled bright-star catalog. Get sky positions, rise/set and twilight times, moon phases, and the next eclipse, equinox, opposition, or conjunction for any place and time, or ask what is visible right now. Two opt-in, network-backed tools add JPL Horizons small-body ephemerides and CelesTrak satellite passes. Runs as a stdio process, a local Streamable HTTP server, or the public hosted endpoint above.
32
+ Observational astronomy for any place and time: sky positions, rise/set and twilight times, moon phases, and the next eclipse, equinox, opposition, or conjunction — or just ask what's visible right now. Computed locally by [`astronomy-engine`](https://github.com/cosinekitty/astronomy), with optional JPL Horizons ephemerides and satellite passes.
33
33
 
34
34
  ### Tools
35
35
 
@@ -57,6 +57,14 @@ Tool-only clients get the same type, radius, and naked-eye fields inline from `a
57
57
  |:---|:---|
58
58
  | `astronomy_stargazing_plan` | Plan a night of stargazing from a place, chaining the astronomy tools with geocoding and weather steps |
59
59
 
60
+ ### Skills
61
+
62
+ | Skill | Description |
63
+ |:---|:---|
64
+ | [`astronomy-guide`](./skills/astronomy-guide/SKILL.md) | Chaining the tools for observing questions: anchoring dates to the observer's local night, what "visible" means per tool, Moon interference, eclipses from a place, and the opt-in Horizons and satellite tools |
65
+
66
+ Plugin installs load it from `skills/`; MCP clients that support the Skills extension read it as `skill://astronomy-guide/SKILL.md`.
67
+
60
68
  Design reference: [`docs/design.md`](./docs/design.md).
61
69
 
62
70
  ## Capability reference
@@ -71,11 +79,9 @@ Design reference: [`docs/design.md`](./docs/design.md).
71
79
 
72
80
  ### `astronomy_get_rise_set` <sub>tool</sub>
73
81
 
74
- - One `body` searched forward from `start` (default now) for the next `count` cycles, default 1; 31 are served per call, and a `count` up to 366 returns the first 31 with a notice naming the `start` and `count` that continue the series (or saying none can, once the next cycle falls after 2100)
75
- - Each cycle carries `rise_utc`, `set_utc`, `transit_utc`, and `transit_altitude_degrees`; a circumpolar or never-rising body gets `null` rise/set and a `note` instead of an error, and one already up at `start` gets a `null` `rise_utc`
76
- - For `body: "sun"`, a `twilight` block holds `civil`, `nautical`, and `astronomical` pairs covering the night after that cycle's set (after its culmination when it has none), so each `dawn_utc` falls the day after the cycle's rise; each pair is bounded to its own night, so a depth the night never reaches is `null`
77
- - A `start` between sunset and sunrise adds `night_in_progress`, the night already under way (its dusk may precede `start`), because the first cycle then opens at the next sunrise; a continuation call repeats there the night the previous call's last cycle carried
78
- - One cycle covers one day: a day the body neither rises nor sets on (polar night, midnight sun) is a cycle of its own, so each night appears in exactly one cycle; a start in the afternoon of a polar-night day opens with the rest of that day (rise, set, and transit `null`) and its night
82
+ - One `body` searched forward from `start` (default now) for the next `count` cycles, default 1; 31 are served per call, and a `count` up to 366 returns the first 31 with a notice naming the `start` and `count` that continue the series
83
+ - Each cycle carries `rise_utc`, `set_utc`, `transit_utc`, and `transit_altitude_degrees`; a circumpolar or never-rising body gets `null` rise/set and a `note` instead of an error
84
+ - For `body: "sun"`, `twilight` holds civil, nautical, and astronomical dusk/dawn pairs for the night after each cycle's day. When the first day begins after `start`, `night_in_progress` holds the preceding night, including polar nights without a sunset; the first cycle otherwise carries its own night. Each pair stays within that night, and times before `start` remain included
79
85
 
80
86
  ---
81
87
 
@@ -88,10 +94,10 @@ Design reference: [`docs/design.md`](./docs/design.md).
88
94
 
89
95
  ### `astronomy_find_events` <sub>tool</sub>
90
96
 
91
- - One `event` (`solar_eclipse`, `lunar_eclipse`, `equinox`, `solstice`, `moon_quarter`, `opposition`, `conjunction`, `max_elongation`, `perigee_apogee`) and the next `count` occurrences, default 1; 20 are served per call, and a `count` up to 200 returns the first 20 with a notice naming the `start` and `count` that continue the series; searches stop at the end of 2100, with a notice when that returns fewer
92
- - Body-relative events require `body` (`body_required`), and a body the event doesn't apply to fails as `body_not_supported`: `opposition` takes mars through pluto, `conjunction` any planet, `max_elongation` mercury or venus, and `perigee_apogee` the moon, `earth`, or a planet; `apsis_kind` and `conjunction_kind` label which kind came back
93
- - `conjunction` with `body` alone is that planet's conjunction with the Sun; adding `body2` (the Moon or a planet, different from `body`) finds the instant the two share an ecliptic longitude seen from Earth's center and reports `separation_degrees` at that instant, which is not always their closest approach. `body2` with any other event, the same body twice, or a `sun`/`earth` `body` fails as `invalid_body_pair`
94
- - Eclipses take an optional observer (`latitude` and `longitude` together, else `incomplete_observer`) that adds `local_visible` and `contact_altitudes_degrees` and limits `solar_eclipse` to locally visible events; a global solar search reports `peak_latitude_degrees`/`peak_longitude_degrees` for total and annular eclipses
97
+ - One `event` (`solar_eclipse`, `lunar_eclipse`, `equinox`, `solstice`, `moon_quarter`, `opposition`, `conjunction`, `max_elongation`, `perigee_apogee`) and the next `count` occurrences, default 1; 20 are served per call, and a `count` up to 200 returns the first 20 with a notice naming the `start` and `count` that continue the series; searches stop at the end of 2100
98
+ - Body-relative events require `body` (`body_required`); a body the event doesn't apply to fails as `body_not_supported`, and `conjunction` with `body2` takes the Moon or a planet different from `body` (`invalid_body_pair` otherwise) and reports `separation_degrees`
99
+ - Eclipses take an optional observer (`latitude` and `longitude` together, else `incomplete_observer`) that adds `local_visible` and `contact_altitudes_degrees`
100
+ - Eclipses are included when their peak is at or after `start`; their contacts may precede `start`
95
101
 
96
102
  ---
97
103
 
@@ -104,17 +110,18 @@ Design reference: [`docs/design.md`](./docs/design.md).
104
110
 
105
111
  ### `astronomy_get_ephemeris` <sub>tool</sub>
106
112
 
107
- - `designation` is passed to Horizons verbatim (`"433;"` for a numbered asteroid, `"DES=1P;CAP"` for a periodic comet, a negative SPK-ID for a spacecraft); `start` defaults to now, `stop` to 24 h later, and `step` to `"1h"` (a count plus `m`, `h`, `d`, `mo`, or `y`); `latitude` and `longitude` together add alt/az, with `elevation` then limited to the observer altitudes Horizons accepts (`invalid_elevation` outside them; a geocentric request ignores it)
108
- - One page of up to 200 rows per call, and when `truncated` is true the notice names the `start` to resume from; `stop` equal to `start` returns the single row at that instant; `step` counts can be any positive integer up to 2147483647, months and years follow the calendar from `start`, and fractional seconds in `start` are kept; `start` and `stop` are Gregorian dates (extended before 1582) in years 0100 through 9999
109
- - `target_name` is the object Horizons resolved, since a bare name can land on the wrong one; a name matching several major bodies fails as `ambiguous_designation` listing each ID number, Earth fails as `observer_is_target`, and a designation with an apostrophe or any character outside printable ASCII fails as `body_not_found` (use `DES=6P;CAP`, not `6P/d'Arrest`, and `2867;`, not `Šteins`); misses fail as `body_not_found`, a `step` longer than the target's data as `invalid_step`, spans outside the target's Horizons data as `time_out_of_range`, and a value Horizons refuses outright as `request_rejected`, which names the input to correct
113
+ - `designation` is passed to Horizons verbatim (`"433;"` for a numbered asteroid, `"DES=1P;CAP"` for a periodic comet, a negative SPK-ID for a spacecraft); `start` defaults to now, `stop` to 24 h later, and `step` to `"1h"` (a count plus `m`, `h`, `d`, `mo`, or `y`); `latitude` and `longitude` together add alt/az
114
+ - Up to 200 rows per call; when `truncated` is true the notice names the `start` to resume from. `target_name` is the object Horizons resolved
115
+ - Fails as `ambiguous_designation`, `observer_is_target`, `body_not_found`, `invalid_step`, `invalid_elevation`, `time_out_of_range`, or `request_rejected`, each naming the input to correct
110
116
  - Registered only when `ASTRONOMY_ENABLE_HORIZONS=true`
111
117
 
112
118
  ---
113
119
 
114
120
  ### `astronomy_get_satellite_passes` <sub>tool</sub>
115
121
 
116
- - Exactly one of `norad_id` or `name` (ISS, Hubble/HST, and Tiangong/CSS resolve directly; other names are substring-matched against CelesTrak, and an ambiguous one fails as `ambiguous_satellite_name` listing candidates); `start` must be within about a month of today, and `days` defaults to 7; 10 are searched per call, and a `days` up to 30 searches the first 10 with a notice naming the `start` and `days` that continue the search, or saying none can when that start would lie more than about a month from the element set's epoch
117
- - Returns `norad_id`, `satellite_name`, and `passes` kept by their visible stretch (satellite above the horizon and sunlit while the Sun is below −6°, reaching 10° elevation), each with rise/peak/set times (within 1 s) and azimuths, `peak_altitude_degrees`, `duration_seconds`, `sunlit` (illumination at the peak, so it can be `false` on a pass seen only before or after the satellite crosses Earth's shadow), and the stretch itself as `visible_start_utc`/`visible_end_utc` with their `_local`, altitude, and azimuth fields
122
+ - Exactly one of `norad_id` or `name` (ISS, Hubble/HST, and Tiangong/CSS resolve directly; other names are matched against CelesTrak, and an ambiguous one fails as `ambiguous_satellite_name` listing candidates); `start` must be within about a month of today, and `days` defaults to 7
123
+ - 10 days are searched per call; a `days` up to 30 returns the first 10 with a notice naming the `start` and `days` that continue the search
124
+ - Returns `norad_id`, `satellite_name`, and `passes` that are visible (sunlit, above 10° elevation, Sun below −6°), each with rise/peak/set times and azimuths, `peak_altitude_degrees`, `duration_seconds`, `sunlit`, and `visible_start_utc`/`visible_end_utc`
118
125
  - Registered only when `ASTRONOMY_ENABLE_SATELLITES=true`
119
126
 
120
127
  ---
@@ -129,7 +136,7 @@ Design reference: [`docs/design.md`](./docs/design.md).
129
136
  ### `astronomy_stargazing_plan` <sub>prompt</sub>
130
137
 
131
138
  - Arguments: `location` required; `date` (`YYYY-MM-DD`) optional, defaults to tonight
132
- - Returns one user message that chains `astronomy_get_rise_set` (sun, then moon), `astronomy_get_moon_phase`, and `astronomy_list_visible` with `include_stars`, anchored to the observer's local night (reading `night_in_progress` when the sun query starts after sunset), plus the geocoding and weather steps this server doesn't cover
139
+ - Returns one user message that chains `astronomy_get_rise_set` (sun, then moon), `astronomy_get_moon_phase`, and `astronomy_list_visible` with `include_stars`, plus the geocoding and weather steps this server doesn't cover
133
140
 
134
141
  ## Features
135
142
 
@@ -154,19 +161,41 @@ Agent-friendly output:
154
161
 
155
162
  ### Public Hosted Instance
156
163
 
157
- A public instance is available at `https://astronomy.caseyjhand.com/mcp` — no installation required. Point any MCP client at it via Streamable HTTP:
164
+ A public instance is available at `https://astronomy.caseyjhand.com/mcp` — no installation required. It serves Streamable HTTP; each client takes its own config shape.
165
+
166
+ For Claude Code:
167
+
168
+ ```sh
169
+ claude mcp add --transport http astronomy-mcp-server https://astronomy.caseyjhand.com/mcp
170
+ ```
171
+
172
+ For Cline (`cline_mcp_settings.json`):
158
173
 
159
174
  ```json
160
175
  {
161
176
  "mcpServers": {
162
177
  "astronomy-mcp-server": {
163
- "type": "streamable-http",
178
+ "type": "streamableHttp",
164
179
  "url": "https://astronomy.caseyjhand.com/mcp"
165
180
  }
166
181
  }
167
182
  }
168
183
  ```
169
184
 
185
+ For Cursor (`mcp.json`):
186
+
187
+ ```json
188
+ {
189
+ "mcpServers": {
190
+ "astronomy-mcp-server": {
191
+ "url": "https://astronomy.caseyjhand.com/mcp"
192
+ }
193
+ }
194
+ }
195
+ ```
196
+
197
+ Claude Desktop adds remote servers under Settings → Connectors.
198
+
170
199
  ### Self-Hosted / Local
171
200
 
172
201
  Add the following to your MCP client configuration file. The core tools need no configuration; set `ASTRONOMY_ENABLE_HORIZONS` and/or `ASTRONOMY_ENABLE_SATELLITES` to `true` to register the extensions.
@@ -0,0 +1,28 @@
1
+ ---
2
+ summary: "Correct eclipse peak boundaries, shallow horizon crossings, and preceding polar-night twilight."
3
+ breaking: false
4
+ security: false
5
+ ---
6
+
7
+ # 0.4.3 — 2026-10-24
8
+
9
+ ## Changed
10
+
11
+ - **`night_in_progress`** includes the preceding polar night's bounded twilight when the first cycle begins after `start`, including nights without a sunset ([#64](https://github.com/cyanheads/astronomy-mcp-server/issues/64)).
12
+ - **Extension text rendering** preserves literal Horizons designations, resolved targets, satellite names, and name queries when they contain Markdown syntax.
13
+ - **Maintenance tooling** synchronizes framework skills and protocol guidance, corrects direct-versus-transitive audit attribution, and documents client-specific hosted connection settings.
14
+ - **Container runtime** advances Bun 1.4.3 → 1.4.4.
15
+
16
+ ## Fixed
17
+
18
+ - **`astronomy_find_events`** selects local solar, global solar, and lunar eclipses by peaks at or after `start`, retaining earlier contacts ([#62](https://github.com/cyanheads/astronomy-mcp-server/issues/62)).
19
+ - **`astronomy_get_rise_set`** certifies shallow horizon crossing direction before building cycles, preserving short real intervals and consecutive daily cycles ([#63](https://github.com/cyanheads/astronomy-mcp-server/issues/63)).
20
+
21
+ ## Dependencies
22
+
23
+ - `@cyanheads/mcp-ts-core` ^0.13.15 → ^0.13.16.
24
+ - `zod` ^4.6.6 → ^4.6.7.
25
+ - `@biomejs/biome` 2.5.15 → 2.6.2.
26
+ - `ignore` ^7.0.12 → ^7.0.13.
27
+ - `tsc-alias` ^1.9.7 → ^1.9.8.
28
+ - `vitest` ^5.0.4 → ^5.0.5.
@@ -0,0 +1,29 @@
1
+ ---
2
+ summary: "Publishes the astronomy-guide skill over MCP and in every install surface, and moves to mcp-ts-core 0.13.18, which stops the HTTP transport retaining memory for every request (a leak 0.4.3 shipped with on Bun, the Docker runtime) and trims the .mcpb to the files the server runs."
3
+ breaking: false
4
+ security: false
5
+ ---
6
+
7
+ # 0.5.0 — 2026-10-28
8
+
9
+ ## Added
10
+
11
+ - **`astronomy-guide` skill** (`skills/astronomy-guide/SKILL.md`): chains the `astronomy_*` tools for observing questions — anchoring dates to the observer's local night, what each tool means by visible, Moon interference, eclipses from a place, the 1900–2100 span, and the opt-in Horizons and satellite tools. Served over MCP as `skill://astronomy-guide/SKILL.md` with the `skill://{+path}` template through `createApp({ skills })` (mcp-ts-core 0.13.18), and ships in the npm package, the Docker image, the `.mcpb`, and plugin installs.
12
+ - **Root Agent Plugins manifest pair**, `plugin.json` + `mcp.json` (template from mcp-ts-core 0.13.18).
13
+
14
+ ## Changed
15
+
16
+ - **The `.mcpb` carries only the runtime files**: the root `README.md`, `LICENSE`, `CHANGELOG.md`, `manifest.json`, `package.json`, and `server.json`, plus `dist/`, `skills/`, and `node_modules/`. 0.4.3's bundle also shipped `src/`, `scripts/`, `changelog/`, `docs/`, `.github/`, `.vscode/`, the `.claude-plugin/` and `.codex-plugin/` directories, `CLAUDE.md`, `AGENTS.md`, `CITATION.cff`, `devcheck.config.json`, `.gitattributes`, `.dockerignore`, and the framework package's build-only files. The root-anchored `.mcpbignore` and the `clean-mcpb` build-only stripping (mcp-ts-core 0.13.18) account for it. The bundle cleaner keeps the MCP SDK's `dist/ext/skills/` runtime, which a skills-serving bundle needs at startup, as a local workaround for open upstream [cyanheads/mcp-ts-core#794](https://github.com/cyanheads/mcp-ts-core/issues/794).
17
+ - **`visibility_note` output-field description**: the example uses an 8-point compass label (`W`), the precision the server emits (it showed `WSW`). `docs/design.md` corrects its star-catalog description (a 32-star in-source table) and its `astronomy_list_visible` bounds and field notes.
18
+ - **Repo upkeep**: framework skills and scripts resynced (`add-skill` new), issue templates, and the `bunfig.toml` `minimumReleaseAge` guard at 1 day (template, mcp-ts-core 0.13.17).
19
+
20
+ ## Fixed
21
+
22
+ - On mcp-ts-core 0.13.16, which 0.4.3 shipped with, the HTTP transport retained memory for every request, so an HTTP deployment running under Bun — the runtime of the Docker image — grew until it ran out of memory. mcp-ts-core 0.13.17 releases each request's resources when its response ends ([cyanheads/mcp-ts-core#786](https://github.com/cyanheads/mcp-ts-core/issues/786)).
23
+
24
+ ## Dependencies
25
+
26
+ - `@cyanheads/mcp-ts-core` ^0.13.16 → ^0.13.18 (brings `@modelcontextprotocol/server` ^2.3.1 → ^2.4.0).
27
+ - `@biomejs/biome` 2.6.2 → 2.6.3 (dev).
28
+ - `ignore` ^7.0.13 → ^7.0.14 (dev).
29
+ - `tsc-alias` ^1.9.8 → ^1.9.9 (dev).
package/dist/index.js CHANGED
@@ -47,6 +47,8 @@ await createApp({
47
47
  * still wins when it carries a meaningful value, which is how an operator overrides this.
48
48
  */
49
49
  sessionMode: 'stateless',
50
+ /** The published `skills/` tree, served over the MCP Skills extension; resolved against the application root. */
51
+ skills: 'skills',
50
52
  instructions: 'Observer location is latitude/longitude in decimal degrees plus optional elevation; times are ISO 8601 UTC and default to now. This server does not geocode — resolve a place name to coordinates upstream (e.g. via openstreetmap) and a timezone via reference-data, then pass `timezone` to receive observer-local times. astronomy_list_visible is the one-call "what is up now" answer. The astronomy_get_ephemeris (small bodies) and astronomy_get_satellite_passes tools are off by default; enable them with ASTRONOMY_ENABLE_HORIZONS / ASTRONOMY_ENABLE_SATELLITES.',
51
53
  /**
52
54
  * Every catalog a client can list here is decided once, at startup: the tool array is
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA;;;;;;;GAOG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EAAE,oBAAoB,EAAE,MAAM,4DAA4D,CAAC;AAClG,OAAO,EAAE,YAAY,EAAE,MAAM,qDAAqD,CAAC;AACnF,OAAO,EAAE,cAAc,EAAE,MAAM,oDAAoD,CAAC;AACpF,OAAO,EAAE,gBAAgB,EAAE,MAAM,sDAAsD,CAAC;AACxF,OAAO,EAAE,gBAAgB,EAAE,MAAM,uDAAuD,CAAC;AACzF,OAAO,EAAE,cAAc,EAAE,MAAM,qDAAqD,CAAC;AACrF,OAAO,EAAE,sBAAsB,EAAE,MAAM,6DAA6D,CAAC;AACrG,OAAO,EAAE,kBAAkB,EAAE,MAAM,yDAAyD,CAAC;AAC7F,OAAO,EAAE,eAAe,EAAE,MAAM,qDAAqD,CAAC;AACtF,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAC9E,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AAEjF,MAAM,GAAG,GAAG,eAAe,EAAE,CAAC;AAE9B,+DAA+D;AAC/D,MAAM,SAAS,GAAG;IAChB,kBAAkB;IAClB,cAAc;IACd,gBAAgB;IAChB,cAAc;IACd,eAAe;CAChB,CAAC;AAEF,mFAAmF;AACnF,MAAM,cAAc,GAAG;IACrB,GAAG,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IACjD,GAAG,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;CAC1D,CAAC;AAEF,MAAM,SAAS,CAAC;IACd,IAAI,EAAE,sBAAsB;IAC5B,KAAK,EAAE,sBAAsB;IAC7B;;;;;;;OAOG;IACH,WAAW,EAAE,WAAW;IACxB,YAAY,EACV,gjBAAgjB;IACljB;;;;;;;;;OASG;IACH,UAAU,EAAE;QACV,YAAY,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE;QACxD,cAAc,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE;QAC1D,gBAAgB,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE;QAC5D,0BAA0B,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE;QACtE,iBAAiB,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE;KAC9D;IACD,KAAK;QACH,oBAAoB,EAAE,CAAC;QACvB,IAAI,GAAG,CAAC,cAAc,EAAE,CAAC;YACvB,mBAAmB,CAAC,GAAG,CAAC,eAAe,EAAE,GAAG,CAAC,gBAAgB,CAAC,CAAC;QACjE,CAAC;QACD,IAAI,GAAG,CAAC,gBAAgB,EAAE,CAAC;YACzB,oBAAoB,CAAC,GAAG,CAAC,gBAAgB,EAAE,GAAG,CAAC,gBAAgB,EAAE,GAAG,CAAC,aAAa,CAAC,CAAC;QACtF,CAAC;IACH,CAAC;IACD,KAAK,EAAE,CAAC,GAAG,SAAS,EAAE,GAAG,cAAc,CAAC;IACxC,SAAS,EAAE,CAAC,YAAY,CAAC;IACzB,OAAO,EAAE,CAAC,oBAAoB,CAAC;CAChC,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA;;;;;;;GAOG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EAAE,oBAAoB,EAAE,MAAM,4DAA4D,CAAC;AAClG,OAAO,EAAE,YAAY,EAAE,MAAM,qDAAqD,CAAC;AACnF,OAAO,EAAE,cAAc,EAAE,MAAM,oDAAoD,CAAC;AACpF,OAAO,EAAE,gBAAgB,EAAE,MAAM,sDAAsD,CAAC;AACxF,OAAO,EAAE,gBAAgB,EAAE,MAAM,uDAAuD,CAAC;AACzF,OAAO,EAAE,cAAc,EAAE,MAAM,qDAAqD,CAAC;AACrF,OAAO,EAAE,sBAAsB,EAAE,MAAM,6DAA6D,CAAC;AACrG,OAAO,EAAE,kBAAkB,EAAE,MAAM,yDAAyD,CAAC;AAC7F,OAAO,EAAE,eAAe,EAAE,MAAM,qDAAqD,CAAC;AACtF,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAC9E,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AAEjF,MAAM,GAAG,GAAG,eAAe,EAAE,CAAC;AAE9B,+DAA+D;AAC/D,MAAM,SAAS,GAAG;IAChB,kBAAkB;IAClB,cAAc;IACd,gBAAgB;IAChB,cAAc;IACd,eAAe;CAChB,CAAC;AAEF,mFAAmF;AACnF,MAAM,cAAc,GAAG;IACrB,GAAG,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IACjD,GAAG,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;CAC1D,CAAC;AAEF,MAAM,SAAS,CAAC;IACd,IAAI,EAAE,sBAAsB;IAC5B,KAAK,EAAE,sBAAsB;IAC7B;;;;;;;OAOG;IACH,WAAW,EAAE,WAAW;IACxB,iHAAiH;IACjH,MAAM,EAAE,QAAQ;IAChB,YAAY,EACV,gjBAAgjB;IACljB;;;;;;;;;OASG;IACH,UAAU,EAAE;QACV,YAAY,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE;QACxD,cAAc,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE;QAC1D,gBAAgB,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE;QAC5D,0BAA0B,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE;QACtE,iBAAiB,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE;KAC9D;IACD,KAAK;QACH,oBAAoB,EAAE,CAAC;QACvB,IAAI,GAAG,CAAC,cAAc,EAAE,CAAC;YACvB,mBAAmB,CAAC,GAAG,CAAC,eAAe,EAAE,GAAG,CAAC,gBAAgB,CAAC,CAAC;QACjE,CAAC;QACD,IAAI,GAAG,CAAC,gBAAgB,EAAE,CAAC;YACzB,oBAAoB,CAAC,GAAG,CAAC,gBAAgB,EAAE,GAAG,CAAC,gBAAgB,EAAE,GAAG,CAAC,aAAa,CAAC,CAAC;QACtF,CAAC;IACH,CAAC;IACD,KAAK,EAAE,CAAC,GAAG,SAAS,EAAE,GAAG,cAAc,CAAC;IACxC,SAAS,EAAE,CAAC,YAAY,CAAC;IACzB,OAAO,EAAE,CAAC,oBAAoB,CAAC;CAChC,CAAC,CAAC"}
@@ -33,7 +33,7 @@ export const stargazingPlanPrompt = prompt('astronomy_stargazing_plan', {
33
33
  'Using the location and date above, work through these steps in order:',
34
34
  '',
35
35
  `1. Resolve the location to latitude/longitude with a geocoding tool (e.g. openstreetmap_search_places), and its IANA timezone with a timezone lookup (e.g. ref_timezone_lookup, given the place's city or region). This astronomy server does not geocode. Pass that zone as the \`timezone\` parameter on every astronomy call below: without it the tools answer in UTC only, and you cannot tell which local night a returned instant belongs to.`,
36
- `2. Call astronomy_get_rise_set with body "sun" at those coordinates for the local evening of <date> in that timezone, to find sunset and the astronomical-dusk time (the start of the dark window). Anchor <date> in the observer's zone, not UTC — resolving it against UTC midnight lands on the adjacent local night for any observer far enough from Greenwich. If the call's \`start\` falls after sunset, read that night's dusk and dawn from \`night_in_progress\`: the first cycle then opens at the next sunrise, and its twilight is the following night's.`,
36
+ `2. Call astronomy_get_rise_set with body "sun" at those coordinates for the local evening of <date> in that timezone, to find sunset and the astronomical-dusk time (the start of the dark window). Anchor <date> in the observer's zone, not UTC — resolving it against UTC midnight lands on the adjacent local night for any observer far enough from Greenwich. Read the night under way from \`night_in_progress\` when present, including polar nights without a sunset: the first cycle then begins with the next day, and its twilight is the following night's. Otherwise use the first cycle's twilight, including a rest-of-dark-day cycle that already carries the current night.`,
37
37
  `3. Call astronomy_get_moon_phase for <date> and note the illuminated fraction — a bright moon washes out faint objects.`,
38
38
  `4. Call astronomy_get_rise_set with body "moon" at those coordinates across the same local <date> night in that timezone, to get moonrise and moonset, then compare them against the dark window from step 2. Phase alone is geocentric and does not say whether the moon is above the observer's horizon; a full moon that has already set does not interfere.`,
39
39
  `5. Call astronomy_list_visible at those coordinates with \`include_stars\` set to true, at a time just after the astronomical dusk found in step 2 on the local <date> night in that timezone, to get the ranked list of what is up. The tool omits the bundled bright-star catalog unless \`include_stars\` is true, so leaving it off returns solar-system bodies only — not the named stars a stargazer is most likely to be asking about.`,
@@ -1 +1 @@
1
- {"version":3,"file":"stargazing-plan.prompt.js","sourceRoot":"","sources":["../../../../src/mcp-server/prompts/definitions/stargazing-plan.prompt.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,wBAAwB,CAAC;AAEnD,MAAM,CAAC,MAAM,oBAAoB,GAAG,MAAM,CAAC,2BAA2B,EAAE;IACtE,WAAW,EACT,8TAA8T;IAChU,KAAK,EAAE,+CAA+C;IACtD,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC;QACb,QAAQ,EAAE,CAAC;aACR,MAAM,EAAE;aACR,QAAQ,CAAC,oEAAoE,CAAC;QACjF,IAAI,EAAE,CAAC;aACJ,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CAAC,4EAA4E,CAAC;KAC1F,CAAC;IACF,QAAQ,EAAE,CAAC,IAAI,EAAE,EAAE;QACjB,MAAM,SAAS,GAAG,IAAI,CAAC,IAAI,IAAI,SAAS,CAAC;QACzC,MAAM,IAAI,GAAG;YACX,yCAAyC;YACzC,EAAE;YACF,iNAAiN;YACjN,EAAE;YACF,aAAa,IAAI,CAAC,QAAQ,aAAa;YACvC,SAAS,SAAS,SAAS;YAC3B,EAAE;YACF,uEAAuE;YACvE,EAAE;YACF,sbAAsb;YACtb,wiBAAwiB;YACxiB,yHAAyH;YACzH,iWAAiW;YACjW,+aAA+a;YAC/a,+KAA+K;YAC/K,EAAE;YACF,uOAAuO;SACxO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACb,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC;IAC7D,CAAC;CACF,CAAC,CAAC"}
1
+ {"version":3,"file":"stargazing-plan.prompt.js","sourceRoot":"","sources":["../../../../src/mcp-server/prompts/definitions/stargazing-plan.prompt.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,wBAAwB,CAAC;AAEnD,MAAM,CAAC,MAAM,oBAAoB,GAAG,MAAM,CAAC,2BAA2B,EAAE;IACtE,WAAW,EACT,8TAA8T;IAChU,KAAK,EAAE,+CAA+C;IACtD,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC;QACb,QAAQ,EAAE,CAAC;aACR,MAAM,EAAE;aACR,QAAQ,CAAC,oEAAoE,CAAC;QACjF,IAAI,EAAE,CAAC;aACJ,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CAAC,4EAA4E,CAAC;KAC1F,CAAC;IACF,QAAQ,EAAE,CAAC,IAAI,EAAE,EAAE;QACjB,MAAM,SAAS,GAAG,IAAI,CAAC,IAAI,IAAI,SAAS,CAAC;QACzC,MAAM,IAAI,GAAG;YACX,yCAAyC;YACzC,EAAE;YACF,iNAAiN;YACjN,EAAE;YACF,aAAa,IAAI,CAAC,QAAQ,aAAa;YACvC,SAAS,SAAS,SAAS;YAC3B,EAAE;YACF,uEAAuE;YACvE,EAAE;YACF,sbAAsb;YACtb,+pBAA+pB;YAC/pB,yHAAyH;YACzH,iWAAiW;YACjW,+aAA+a;YAC/a,+KAA+K;YAC/K,EAAE;YACF,uOAAuO;SACxO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACb,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC;IAC7D,CAAC;CACF,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"find-events.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/find-events.tool.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AA6CjE,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA0H3B,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEpE,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgSzB,CAAC"}
1
+ {"version":3,"file":"find-events.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/find-events.tool.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AA2CjE,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA0H3B,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEpE,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgSzB,CAAC"}