@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.
- package/.release-please-manifest.json +1 -1
- package/README.md +3 -2
- package/automations/catalog/github-pr-reviewer.json +1 -1
- package/automations/catalog/github-repo-monitor.json +1 -1
- package/marketplaces/openhands-extensions.json +13 -0
- package/package.json +1 -1
- package/plugins/issue-duplicate-checker/action.yml +2 -2
- package/plugins/pr-review/README.md +1 -1
- package/plugins/qa-changes/action.yml +4 -2
- package/plugins/release-notes/action.yml +3 -2
- package/plugins/release-notes/workflows/release-notes.yml +10 -4
- package/plugins/vulnerability-remediation/README.md +4 -2
- package/plugins/vulnerability-remediation/action.yml +8 -4
- package/pyproject.toml +1 -1
- package/scripts/sync_extensions.py +2 -1
- package/skills/github-actions/.plugin/plugin.json +19 -0
- package/skills/github-actions/README.md +190 -0
- package/skills/github-actions/SKILL.md +44 -0
- package/skills/github-pr-reviewer/SKILL.md +183 -40
- package/skills/github-pr-reviewer/references/state-schema.md +98 -0
- package/skills/github-pr-reviewer/scripts/main.py +625 -0
- package/skills/github-repo-monitor/README.md +1 -1
- package/skills/github-repo-monitor/SKILL.md +9 -9
- package/skills/github-repo-monitor/references/github-api.md +3 -3
- package/skills/github-repo-monitor/scripts/main.py +11 -11
- package/skills/index.js +16 -4
- package/skills/openhands-sdk/SKILL.md +3 -0
- package/skills/slack-channel-monitor/README.md +2 -1
- package/skills/slack-channel-monitor/SKILL.md +22 -4
- package/tests/test_sync_extensions.py +14 -0
- /package/plugins/issue-duplicate-checker/scripts/{post_duplicate_notice.js → post_duplicate_notice.cjs} +0 -0
- /package/plugins/issue-duplicate-checker/scripts/{remove_duplicate_candidate_label.js → remove_duplicate_candidate_label.cjs} +0 -0
- /package/skills/github-pr-reviewer/commands/{pr-reviewer:setup.md → pr-reviewer-setup.md} +0 -0
- /package/skills/github-repo-monitor/commands/{github-monitor:poll.md → github-monitor-poll.md} +0 -0
- /package/skills/incident-retrospective/commands/{incident-retro:setup.md → incident-retro-setup.md} +0 -0
- /package/skills/linear-triage/commands/{linear-triage:setup.md → linear-triage-setup.md} +0 -0
- /package/skills/openhands-automation/commands/{automation:create.md → automation-create.md} +0 -0
- /package/skills/research-brief/commands/{research-brief:setup.md → research-brief-setup.md} +0 -0
- /package/skills/slack-channel-monitor/commands/{slack-monitor:poll.md → slack-monitor-poll.md} +0 -0
- /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
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/skills/github-repo-monitor/commands/{github-monitor:poll.md → github-monitor-poll.md}
RENAMED
|
File without changes
|
/package/skills/incident-retrospective/commands/{incident-retro:setup.md → incident-retro-setup.md}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/skills/slack-channel-monitor/commands/{slack-monitor:poll.md → slack-monitor-poll.md}
RENAMED
|
File without changes
|
/package/skills/slack-standup-digest/commands/{standup-digest:setup.md → standup-digest-setup.md}
RENAMED
|
File without changes
|