diff --git a/.changeset/bump-sightmap-0-26-0.md b/.changeset/bump-sightmap-0-26-0.md new file mode 100644 index 0000000..06b059a --- /dev/null +++ b/.changeset/bump-sightmap-0-26-0.md @@ -0,0 +1,7 @@ +--- +"@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. + +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/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= 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 (