Commit 348610d
authored
(feat) Add Cursor Marketplace plugin form (#119)
* feat(cursor): add Marketplace plugin form
Ships .cursor-plugin/plugin.json + cursor/plugin-hooks.json so the repo is
installable from the Cursor Marketplace, alongside the existing
install-cursor.sh flow. The plugin form uses a relative ./scripts/cursor-on-event.sh
path (resolved from the plugin root) instead of $HOME/.local/share/...,
which let the existing bootstrap script stay unchanged.
Adds commands/dash0-configure.md to replace the installer's interactive
prompt: end users run /dash0-configure inside Cursor to write the OTLP
URL + token to ~/.cursor/dash0-agent-plugin.local.md.
release.sh now bumps .cursor-plugin/plugin.json alongside the others, and
cursor/README.md documents both install paths.
* build: resolve installer version from GitHub at runtime
install-cursor.sh no longer carries a hardcoded VERSION. It queries the
GitHub API for the latest release on each run, with DASH0_VERSION as an
override for pinning. Removes the failure mode where a release that
skipped scripts/release.sh would leave the installer pointing at the
previous tag.
release.sh and cursor/README.md updated to reflect that install-cursor.sh
is no longer part of the version-bump set.
* fix(cursor): expose configure step as a skill, not a command
Cursor's user-invocable unit is a skill (SKILL.md with name + description
frontmatter), surfaced to the agent semantically. The original commands/
path was a Claude Code shape that Cursor's plugin loader did not pick up
during local sideload testing.
Replaces commands/dash0-configure.md with skills/dash0-configure/SKILL.md
and updates the manifest accordingly. Claude Code's commands/open-session.md
and .claude-plugin/plugin.json are unchanged.
* docs: split runtime READMEs by audience
Root README is now a hub — it pitches the idea (connect coding agents to
Dash0 for deep insight into AI usage) and points at the per-runtime docs.
Claude Code docs move to .claude-plugin/README.md (unchanged content,
just relocated). New .cursor-plugin/README.md holds end-user-facing
Cursor docs: install via Marketplace or shell installer, configure via
the dash0-configure skill, verify, uninstall. cursor/README.md becomes
the developer reference (build, sideload local changes, cut releases,
capture-mode fixtures), with a pointer to the user-facing README.
Drops the stale cursor-source-handoff-brief.md — the research it
captured has been folded into the integration.
* Point consistency check to claude readme
* build: add cursor plugin-template validate script
Copied verbatim from cursor/plugin-template@main:
scripts/validate-template.mjs
Required for Cursor Marketplace submission. The script expects a
multi-plugin .cursor-plugin/marketplace.json layout — since this repo
is a single plugin, the validator early-returns "Validation passed"
without actually checking the manifest. Present-in-repo is what the
submission process appears to need; real validation would require
either a marketplace-style restructure or a single-plugin validator.1 parent a58add1 commit 348610d
12 files changed
Lines changed: 963 additions & 517 deletions
File tree
- .claude-plugin
- .cursor-plugin
- .github/workflows
- cursor
- scripts
- skills/dash0-configure
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
305 | 305 | | |
306 | 306 | | |
307 | 307 | | |
308 | | - | |
| 308 | + | |
309 | 309 | | |
310 | 310 | | |
311 | 311 | | |
| |||
0 commit comments