Skip to content

Commit 125024e

Browse files
committed
release: v0.18.2 — copilot/openhands host variants exit early on non-trigger prompts
Those hosts lack UserPromptSubmit matcher support, so every prompt previously paid the full session-scope parse; now non-trigger prompts return immediately. All five manifests bumped and .agents pinned to tag v0.18.2 per the release-pinned convention.
1 parent 5f9597b commit 125024e

7 files changed

Lines changed: 16 additions & 8 deletions

File tree

‎.agents/plugins/marketplace.json‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,20 @@
99
"source": {
1010
"source": "url",
1111
"url": "https://github.com/full-stack-plugins/codeguard-plugin.git",
12-
"ref": "v0.18.1"
12+
"ref": "v0.18.2"
1313
},
1414
"policy": {
1515
"installation": "AVAILABLE",
1616
"authentication": "ON_USE"
1717
},
1818
"category": "Developer Tools",
19-
"version": "0.18.1",
19+
"version": "0.18.2",
2020
"description": "Evidence-backed code checks and Git content gates for AI assistants, with Maven/Gradle module impact analysis. Save hooks provide feedback; unverified checks are explicit.",
21-
"icon": "https://cdn.jsdelivr.net/gh/full-stack-plugins/codeguard-plugin@v0.18.1/assets/official-logo.png",
21+
"icon": "https://cdn.jsdelivr.net/gh/full-stack-plugins/codeguard-plugin@v0.18.2/assets/official-logo.png",
2222
"interface": {
2323
"displayName": "代码规范守卫",
2424
"shortDescription": "Trustworthy code checks and Java impact analysis",
25-
"logo": "https://cdn.jsdelivr.net/gh/full-stack-plugins/codeguard-plugin@v0.18.1/assets/official-logo.png"
25+
"logo": "https://cdn.jsdelivr.net/gh/full-stack-plugins/codeguard-plugin@v0.18.2/assets/official-logo.png"
2626
}
2727
}
2828
]

‎.codex-plugin/plugin.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codeguard",
3-
"version": "0.18.1+codex.20260929",
3+
"version": "0.18.2",
44
"description": "Evidence-backed code checks and Git content gates for AI assistants, with Maven/Gradle module impact analysis. Save hooks provide feedback; unverified checks are explicit.",
55
"author": {
66
"name": "Full Stack Skills / PartMe.AI",

‎.zcode-plugin/plugin.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"en": "代码规范守卫",
66
"zh-CN": "代码规范检查"
77
},
8-
"version": "0.18.1",
8+
"version": "0.18.2",
99
"description": "Evidence-backed code checks and Git content gates for AI assistants, with Maven/Gradle module impact analysis. Save hooks provide feedback; unverified checks are explicit.",
1010
"description_i18n": {
1111
"en": "Evidence-backed code checks and Git content gates for AI assistants, with Maven/Gradle module impact analysis. Save hooks provide feedback; unverified checks are explicit.",

‎com.github.copilot/hooks/user_prompt_validator.py‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,10 @@ def read_user_text() -> str:
8080

8181
def main() -> int:
8282
payload = read_payload()
83+
user_text = str(payload.get("user_prompt") or payload.get("prompt") or "")
84+
# 宿主对 UserPromptSubmit 不支持 matcher;普通提示不应解析会话仓库。
85+
if not is_trigger(user_text):
86+
return 0
8387
with session_scope(payload):
8488
return _main(payload)
8589

‎dev.openhands/hooks/user_prompt_validator.py‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,10 @@ def read_user_text() -> str:
8080

8181
def main() -> int:
8282
payload = read_payload()
83+
user_text = str(payload.get("user_prompt") or payload.get("prompt") or "")
84+
# 宿主对 UserPromptSubmit 不支持 matcher;普通提示不应解析会话仓库。
85+
if not is_trigger(user_text):
86+
return 0
8387
with session_scope(payload):
8488
return _main(payload)
8589

‎kimi.plugin.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codeguard",
3-
"version": "0.18.1",
3+
"version": "0.18.2",
44
"description": "Evidence-backed code checks and Git content gates for AI assistants, with Maven/Gradle module impact analysis. Save hooks provide feedback; unverified checks are explicit.",
55
"author": {
66
"name": "Full Stack Skills / PartMe.AI"

‎plugin.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
33
"name": "codeguard",
4-
"version": "0.18.1",
4+
"version": "0.18.2",
55
"description": "Evidence-backed code checks and Git content gates for AI assistants, with Maven/Gradle module impact analysis. Save hooks provide feedback; unverified checks are explicit.",
66
"author": {
77
"name": "Full Stack Skills / PartMe.AI",

0 commit comments

Comments
 (0)