Skip to content

Promote dev → main: verified user-facing commands, plugin 0.5.1 - #41

Merged
Edwinbhart merged 2 commits into
mainfrom
dev
Aug 20, 2026
Merged

Edwinbhart merged 2 commits into
mainfrom
dev

Conversation

@Edwinbhart

@Edwinbhart Edwinbhart commented Aug 20, 2026 •

Copy link
Copy Markdown
Member

Strip trailing slash from all user-facing MCP URLs

📝 Docs · 🔧 Chore

Removes the trailing slash from every user-facing https://api.opentrace.ai/mcp/v1/ URL across docs and install examples, so they match the mcp_url default already stored in plugin.json. Also rewrites the plugin README install section to reflect the real published distribution paths, and bumps the plugin to 0.5.1.

Complexity

🟢 Trivial · 5 files changed, 43 insertions(+), 23 deletions(-)

Docs and version-bump only — no functional code is touched. The runtime (src/util/constants.ts) still normalises all URLs to the trailing-slash form internally; this PR only aligns what users see.

Review focus

Pay particular attention to the following areas:

  • Remaining trailing-slash instances — README.md lines 192 and 198 (the CLI-key / mcp-remote advanced examples) still show /mcp/v1/ with a trailing slash and were not updated; confirm this is intentional or flag as missed.

Edwinbhart and others added 2 commits August 20, 2026 12:17
The plugin README's install block offered three commands and none were valid
syntax: `claude plugin install` resolves `plugin@marketplace` from a registered
marketplace, so it rejects a local path, a `github:owner/repo?path=` URL, and an
npm package name alike — and `@opentrace/claude-code-plugin` was never published,
so that line was wrong twice over. Replaced with a single line verified from a
clean HOME, plus the `otx login` route and `--plugin-dir` for local work. No
"once we're listed" command this time: that is what produced the npm line.

Sweeping the rest of the user-facing docs for the same class of defect found two
more. All 13 endpoints in docs/mcp-installs.md carried a trailing slash, and none
of those instructions pass a header, so they authenticate over OAuth — where the
slash yields an RFC 8707 `resource` the authorization server does not recognise.
That is the bug fixed in the plugin in 39b6838, still live in the docs that tell
people to wire the server up by hand. And README's claim about the plugin's
default endpoint still said `/mcp/v1/`, which that same commit made untrue.

Left README's `--url` line alone: it describes normalizeMcpUrl, which really does
still canonicalise to a trailing slash, and the key-auth examples where the slash
is inert.

Also grew the tools table from 12 rows to the 19 the server advertises, matching
what plugin.json already claims.

Plugin patch-bumped so installed copies do not keep the stale README.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
fix(docs): make every user-facing command one that actually runs

@opentrace opentrace Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Approved

Trivial change.

Docs and version-bump only — no functional code is touched. The runtime (src/util/constants.ts) still normalises all URLs to the trailing-slash form internally; this PR only aligns what users see.

@Edwinbhart
Edwinbhart merged commit b92e070 into main Aug 20, 2026
11 checks passed
@codehub-agent

codehub-agent Bot commented Aug 20, 2026

Copy link
Copy Markdown

💰 Agent economics

50 agent sessions reported in the last 30 days, but none matched this PR's commits. A session matches on the author email it reports and a commit landing within ~2h of it — so check the agent's email matches the commit author, and that the work was committed in the same sitting. Sessions →

Full economics → · by CodeHub

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant