Skip to content

feat!: tool annotations + structured output, Node 22/24 cross-OS CI, pinned supply chain, real homepage (0.3.0) - #62

Merged
TMHSDigital merged 7 commits into
mainfrom
fix/issue-batch-3
Oct 25, 2026
Merged

TMHSDigital merged 7 commits into
mainfrom
fix/issue-batch-3

Conversation

@TMHSDigital

Copy link
Copy Markdown
Owner

Summary

Releases as 0.3.0: tool annotations and structured output, CI/supply-chain hardening, and a real homepage. There's one commit per issue.

Breaking

  • Node 22+ required.
  • zod 4 changes the emitted JSON Schemas. I compared the old and new mcp-tools.json structurally. Shared definitions are inlined instead of $ref'd, the stopped union is expressed differently, and input schemas no longer declare additionalProperties: false. Unknown keys are still stripped at runtime. Dependabot no longer holds zod back, because the manifest snapshot catches this kind of change.

Test plan

  • npm run typecheck and CI=true npm test: 98/98 on Linux (WSL, Node 22), 97 + 1 POSIX-only skip on Windows
  • npm audit --omit=dev --audit-level=high: 0 vulnerabilities
  • actionlint clean on all workflows
  • Built server over stdio against a real, running Tailscale 1.102.3 daemon:
    • default and read-only tool sets
    • Funnel denied
    • stop_share {} refused
    • a malformed flag stops startup
    • share_status parsed a live serve config with an active Funnel endpoint (public: true). This is the first confirmation against real serve status --json output with content.
  • Homepage rendered locally in Chromium (desktop/mobile, light/dark); og.png checked at 1200×630
  • Windows/macOS jobs run for the first time in this PR's CI

Closes #37
Closes #38
Closes #39
Closes #44
Closes #45
Closes #46

🤖 Generated with Claude Code

TMHSDigital and others added 7 commits October 25, 2026 18:16
Every tool moves off the deprecated server.tool() overload to
registerTool with a title, all four annotation hints (read-only for
tailnet_status/share_status/ping_all; stop_share destructive; share_port
open-world only when Funnel is allowed; generate_ssh_config read-only in
read-only mode), and a zod outputSchema. Successful results carry
structuredContent alongside the JSON text block. Error results stay
text-only, because SDK clients validate structuredContent against the
outputSchema even when isError is set.

Closes #39

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Node and platforms (#44):
- CI runs Node 22 and 24 on ubuntu, plus Node 24 on windows and macos,
  so the binary fallbacks and file-mode code run on real platforms.
- engines is now >=22 (Node 20 reached end of life on 2026-04-30);
  @types/node stays on the 22 line to match.

Supply chain (#46):
- Every uses: is pinned to a release commit SHA with a version comment
  (Dependabot keeps them current), including the drift-check action.
- publish.yml installs [email protected] instead of npm@latest inside the job
  holding id-token: write, and builds on Node 24.
- label-sync uses pull_request_target without checking out PR code, so
  it can label fork PRs; it no longer force-recreates existing labels.
- npm audit fix plus zod 3 -> 4 (GHSA-mrhx-c7xc-m3w5, fixed only in
  4.6.6+) make npm audit --omit=dev clean, now enforced in CI. The
  mcp-tools.json snapshot shows the schema impact: $refs are inlined and
  input schemas no longer state additionalProperties: false (unknown keys
  are still stripped at runtime). Dependabot no longer holds zod back,
  since that snapshot now catches emitted-schema changes.

Closes #44
Closes #46

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Issues labeled bug, feature, enhancement, security-hardening, P1/P2, help
wanted, or good first issue, and anything in a milestone, are exempt.
Other issues go stale after 90 days (closed 14 days later), PRs after 30
(closed 7 days later). The policy is documented in CONTRIBUTING.md.

Closes #45

Co-Authored-By: Claude Opus 5.5 <[email protected]>
CONTRIBUTING, AGENTS.md, and .cursorrules named a Provider interface and
a ProviderManager that do not exist; they now describe TailscaleProvider
and where it is constructed (src/index.ts). AGENTS.md's CI section
matches the workflows (Node 22/24 across OSes, typecheck, audit, pinned
actions, fork-safe labeling, stale exemptions). CONTRIBUTING gains a
local development section (MCP Inspector, pointing a client at
dist/index.js) and its broken DCO code fence is fixed. The README
project structure lists src/__tests__, config, schemas, and the
generated mcp-tools.json; the empty tests/ and assets/ placeholders are
removed.

Closes #37

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Clients and the docs site summarize a tool by its first sentence, and
stop_share's was just "Stop sharing." It now says what can be stopped
and that the call reports what was removed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The npm homepage said documentation would arrive "once the server
implementation is complete". It now has:
- a hero that draws a ping_all result (direct, DERP-relayed, offline)
  next to the one-line Claude Code install
- install snippets for Claude Code, Claude Desktop/Cursor, and VS Code,
  plus how to opt in to Funnel
- a tool table rendered from mcp-tools.json, which pages.yml now deploys
  beside the page (and redeploys on change), so it cannot drift
- the safety model as concrete guarantees
- Open Graph/Twitter meta with a 1200x630 card (docs/og.png, source in
  scripts/og-card.html), a favicon, dark mode, reduced-motion support,
  and a note that the project is independent of Tailscale Inc.

Checked at 1280px and 390px, light and dark, with no horizontal scroll.

Closes #38

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedzod@​3.25.76 ⏵ 4.6.7100100 +1610095100

View full report

@TMHSDigital
TMHSDigital merged commit b6dad72 into main Oct 25, 2026
8 checks passed
@TMHSDigital
TMHSDigital deleted the fix/issue-batch-3 branch October 25, 2026 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment