Repository navigation
feat!: tool annotations + structured output, Node 22/24 cross-OS CI, pinned supply chain, real homepage (0.3.0) - #62
Merged
Merged
Conversation
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]>
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.
Annotations and structured output (Migrate to registerTool with annotations, titles, and structured output (roadmap 0.2.0) #39). All six tools move from the deprecated
server.tool()toregisterTool, each with:titleoutputSchema(src/tools/schemas.ts)Successful results carry
structuredContentalongside the JSON text block. Error results stay text-only, because SDK clients validatestructuredContentagainst theoutputSchemaeven whenisErroris set (found while testing). Annotations follow the server's mode:share_portis open-world only when Funnel is allowed, andgenerate_ssh_configis read-only in read-only mode.Node 22/24 on all three OSes (CI: drop EOL Node 20, add Node 24, and run on Windows and macOS #44). CI covers Node 22 and 24 on Ubuntu, plus Node 24 on Windows and macOS.
enginesmoves to>=22.Supply chain (Harden CI supply chain: SHA-pin actions, pin npm in publish, fix fork-PR labeling, add audit #46):
uses:is SHA-pinned with a version comment, including the drift-check action, which explicitly allows SHA pins.publish.ymlpins[email protected]in the job that holdsid-token: write.label-syncruns onpull_request_targetwithout checking out PR code, so fork PRs get labels, and it no longer resets label colors.npm audit fixplus zod 3 → 4: GHSA-mrhx-c7xc-m3w5 (high) is fixed only in 4.6.6+.npm audit --omit=devis now clean and gated in CI.Stale bot (Stale bot will auto-close roadmap and bug issues after 37 days: add exemptions #45). Tracked work (bug, feature, enhancement, security, P1/P2, milestones) is exempt. Everything else goes stale after 90 days (14 more to close); PRs after 30 days. Documented in CONTRIBUTING.
Contributor docs (Contributor docs reference a nonexistent Provider/ProviderManager and miss local-dev setup #37):
Provider/ProviderManagerreferences are gone.dist/index.js.tests/andassets/directories are removed.Homepage (Docs site (npm homepage) still says 'documentation will be available once implementation is complete' #38):
ping_allresult, install snippets for Claude Code, Claude Desktop/Cursor, and VS Code, the safety model, and OG/Twitter meta with a 1200×630 card.mcp-tools.json, whichpages.ymlnow deploys next to the page (redeploying when it changes).Breaking
mcp-tools.jsonstructurally. Shared definitions are inlined instead of$ref'd, thestoppedunion is expressed differently, and input schemas no longer declareadditionalProperties: 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 typecheckandCI=true npm test: 98/98 on Linux (WSL, Node 22), 97 + 1 POSIX-only skip on Windowsnpm audit --omit=dev --audit-level=high: 0 vulnerabilitiesactionlintclean on all workflowsstop_share {}refusedshare_statusparsed a live serve config with an active Funnel endpoint (public: true). This is the first confirmation against realserve status --jsonoutput with content.og.pngchecked at 1200×630Closes #37
Closes #38
Closes #39
Closes #44
Closes #45
Closes #46
🤖 Generated with Claude Code