From 5b4f68ba04d4bdf81ec015a8a000401cd96a4912 Mon Sep 17 00:00:00 2001 From: Joel Webber Date: Fri, 21 Aug 2026 17:41:40 +0000 Subject: [PATCH 1/2] Bump sightmap library to v0.26.0 Update github.com/sightmap/sightmap/go from v0.17.0 to v0.26.0 so `sightmap upload` parses .sightmap/ corpora with the current loader and matcher ($ref expansion, view-scoped components, requests/messages/ properties, newer route-matching semantics). No CLI surface change; builds clean and the full test suite (incl. internal/sightmap) passes. Signed-off-by: Joel Webber --- .changeset/bump-sightmap-0-26-0.md | 5 +++++ go.mod | 2 +- go.sum | 4 ++-- 3 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 .changeset/bump-sightmap-0-26-0.md diff --git a/.changeset/bump-sightmap-0-26-0.md b/.changeset/bump-sightmap-0-26-0.md new file mode 100644 index 0000000..f18e2c9 --- /dev/null +++ b/.changeset/bump-sightmap-0-26-0.md @@ -0,0 +1,5 @@ +--- +"@subtextdev/subtext-cli": patch +--- + +Update the bundled `github.com/sightmap/sightmap/go` library from v0.17.0 to v0.26.0. `sightmap upload` now parses `.sightmap/` corpora with the current loader and matcher — `$ref` expansion, view-scoped components, requests/messages/properties, and the newer route-matching semantics. No change to the CLI's own surface or flags. diff --git a/go.mod b/go.mod index 788f111..8137f57 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.25.2 require ( github.com/gorilla/websocket v1.5.3 github.com/hashicorp/yamux v0.1.2 - github.com/sightmap/sightmap/go v0.17.0 + github.com/sightmap/sightmap/go v0.26.0 github.com/spf13/cobra v1.10.2 gopkg.in/yaml.v2 v2.4.0 ) diff --git a/go.sum b/go.sum index 47c7e91..d98d1b8 100644 --- a/go.sum +++ b/go.sum @@ -6,8 +6,8 @@ github.com/hashicorp/yamux v0.1.2/go.mod h1:C+zze2n6e/7wshOZep2A70/aQU6QBRWJO/G6 github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= -github.com/sightmap/sightmap/go v0.17.0 h1:RMUWqac8D/s7HwKbtz/wPhf1hbA/avdpSwLxSW75dH4= -github.com/sightmap/sightmap/go v0.17.0/go.mod h1:qjZ325Jae5+Pr0BKr9E+T60DL0YFwuqTlXiwzijp//M= +github.com/sightmap/sightmap/go v0.26.0 h1:bRpgljCPUoP/RGjfb05L0Qw0TQunJ3x/a0agpa1Fl4s= +github.com/sightmap/sightmap/go v0.26.0/go.mod h1:qjZ325Jae5+Pr0BKr9E+T60DL0YFwuqTlXiwzijp//M= github.com/spf13/cobra v1.10.2 h1:DMTTonx5m65Ic0GOoRY2c16WCbHxOOw6xxezuLaBpcU= github.com/spf13/cobra v1.10.2/go.mod h1:7C1pvHqHw5A4vrJfjNwvOdzYu0Gml16OCs2GRiTUUS4= github.com/spf13/pflag v1.0.9 h1:9exaQaMOCwffKiiiYk6/BndUBv+iRViNW+4lEMi0PvY= From 5d860c08f7aa18c5726f3cb6302bd12c538fd30e Mon Sep 17 00:00:00 2001 From: Joel Webber Date: Fri, 21 Aug 2026 18:27:35 +0000 Subject: [PATCH 2/2] Remove dead skill-guidance links from help text The "For workflow guidance" links pointed at skill pages that don't exist (skills/tunnel, and the root help advertised "skill references" that were never printed). Drop them from `subtext tunnel --help` and the root help, and fix the stale namespaceHelpFunc doc comment ("+ skill URL"). The live, server-fetched tool listing in each namespace's --help is the real guidance. Signed-off-by: Joel Webber --- .changeset/bump-sightmap-0-26-0.md | 2 ++ internal/cli/help.go | 2 +- internal/cli/root.go | 2 +- internal/cli/tunnel.go | 5 +---- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.changeset/bump-sightmap-0-26-0.md b/.changeset/bump-sightmap-0-26-0.md index f18e2c9..06b059a 100644 --- a/.changeset/bump-sightmap-0-26-0.md +++ b/.changeset/bump-sightmap-0-26-0.md @@ -3,3 +3,5 @@ --- Update the bundled `github.com/sightmap/sightmap/go` library from v0.17.0 to v0.26.0. `sightmap upload` now parses `.sightmap/` corpora with the current loader and matcher — `$ref` expansion, view-scoped components, requests/messages/properties, and the newer route-matching semantics. No change to the CLI's own surface or flags. + +Also remove dead "For workflow guidance" skill links from `subtext tunnel --help` and the root help text — the referenced skill pages don't exist. The live tool listing shown in each namespace's `--help` remains the guidance. diff --git a/internal/cli/help.go b/internal/cli/help.go index 972c10d..f1a76eb 100644 --- a/internal/cli/help.go +++ b/internal/cli/help.go @@ -13,7 +13,7 @@ import ( // namespaceHelpFunc returns a cobra help function for a namespace command. // When credentials are available it fetches tools/list, filters by prefix, // and prints names + first-line descriptions inline. Falls back to the static -// Long text + skill URL when no key is configured or the server is unreachable. +// Long text when no key is configured or the server is unreachable. func namespaceHelpFunc(prefix string) func(*cobra.Command, []string) { return func(cmd *cobra.Command, _ []string) { desc := cmd.Long diff --git a/internal/cli/root.go b/internal/cli/root.go index 65de81e..3613d33 100644 --- a/internal/cli/root.go +++ b/internal/cli/root.go @@ -35,7 +35,7 @@ var rootCmd = &cobra.Command{ Short: "Subtext — drive the Subtext MCP API from the command line", Long: `subtext is a CLI for the Subtext MCP API. -Run 'subtext --help' for command usage and skill references.`, +Run 'subtext --help' for command usage.`, SilenceUsage: true, SilenceErrors: true, } diff --git a/internal/cli/tunnel.go b/internal/cli/tunnel.go index 87d8a63..a77cd30 100644 --- a/internal/cli/tunnel.go +++ b/internal/cli/tunnel.go @@ -33,10 +33,7 @@ var tunnelCmd = &cobra.Command{ Use: "tunnel", Short: "Manage reverse tunnels to local dev servers", Long: `Connect a local development server to the Subtext relay so the hosted -browser can reach it without exposing it to the public internet. - -For workflow guidance: - https://github.com/fullstorydev/subtext/tree/main/skills/tunnel`, +browser can reach it without exposing it to the public internet.`, } var (