@openhands/extensions 0.3.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/.release-please-manifest.json +1 -1
  2. package/README.md +3 -2
  3. package/automations/catalog/github-pr-reviewer.json +1 -1
  4. package/automations/catalog/github-repo-monitor.json +1 -1
  5. package/marketplaces/openhands-extensions.json +13 -0
  6. package/package.json +1 -1
  7. package/plugins/issue-duplicate-checker/action.yml +2 -2
  8. package/plugins/pr-review/README.md +1 -1
  9. package/plugins/qa-changes/action.yml +4 -2
  10. package/plugins/release-notes/action.yml +3 -2
  11. package/plugins/release-notes/workflows/release-notes.yml +10 -4
  12. package/plugins/vulnerability-remediation/README.md +4 -2
  13. package/plugins/vulnerability-remediation/action.yml +8 -4
  14. package/pyproject.toml +1 -1
  15. package/scripts/sync_extensions.py +2 -1
  16. package/skills/github-actions/.plugin/plugin.json +19 -0
  17. package/skills/github-actions/README.md +190 -0
  18. package/skills/github-actions/SKILL.md +44 -0
  19. package/skills/github-pr-reviewer/SKILL.md +183 -40
  20. package/skills/github-pr-reviewer/references/state-schema.md +98 -0
  21. package/skills/github-pr-reviewer/scripts/main.py +625 -0
  22. package/skills/github-repo-monitor/README.md +1 -1
  23. package/skills/github-repo-monitor/SKILL.md +9 -9
  24. package/skills/github-repo-monitor/references/github-api.md +3 -3
  25. package/skills/github-repo-monitor/scripts/main.py +11 -11
  26. package/skills/index.js +16 -4
  27. package/skills/openhands-sdk/SKILL.md +3 -0
  28. package/skills/slack-channel-monitor/README.md +2 -1
  29. package/skills/slack-channel-monitor/SKILL.md +22 -4
  30. package/tests/test_sync_extensions.py +14 -0
  31. /package/plugins/issue-duplicate-checker/scripts/{post_duplicate_notice.js → post_duplicate_notice.cjs} +0 -0
  32. /package/plugins/issue-duplicate-checker/scripts/{remove_duplicate_candidate_label.js → remove_duplicate_candidate_label.cjs} +0 -0
  33. /package/skills/github-pr-reviewer/commands/{pr-reviewer:setup.md → pr-reviewer-setup.md} +0 -0
  34. /package/skills/github-repo-monitor/commands/{github-monitor:poll.md → github-monitor-poll.md} +0 -0
  35. /package/skills/incident-retrospective/commands/{incident-retro:setup.md → incident-retro-setup.md} +0 -0
  36. /package/skills/linear-triage/commands/{linear-triage:setup.md → linear-triage-setup.md} +0 -0
  37. /package/skills/openhands-automation/commands/{automation:create.md → automation-create.md} +0 -0
  38. /package/skills/research-brief/commands/{research-brief:setup.md → research-brief-setup.md} +0 -0
  39. /package/skills/slack-channel-monitor/commands/{slack-monitor:poll.md → slack-monitor-poll.md} +0 -0
  40. /package/skills/slack-standup-digest/commands/{standup-digest:setup.md → standup-digest-setup.md} +0 -0
@@ -198,6 +198,20 @@ class TestCollectNeededCommands:
198
198
  assert spec.path.parent.name == "commands"
199
199
  assert spec.path.suffix == ".md"
200
200
 
201
+ def test_colon_triggers_are_normalized_for_filenames(self, tmp_path, monkeypatch):
202
+ skill_dir = tmp_path / "skills" / "test-skill"
203
+ skill_dir.mkdir(parents=True)
204
+ (skill_dir / "SKILL.md").write_text(
205
+ "---\nname: test-skill\ndescription: Test\ntriggers:\n - /test:command\n---\nBody\n"
206
+ )
207
+
208
+ monkeypatch.setattr("sync_extensions.SKILL_DIRS", [tmp_path / "skills"])
209
+
210
+ specs = collect_needed_commands()
211
+ assert [spec.path.relative_to(tmp_path).as_posix() for spec in specs] == [
212
+ "skills/test-skill/commands/test-command.md"
213
+ ]
214
+
201
215
 
202
216
  # ── load_marketplaces ────────────────────────────────────────────────
203
217