Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 63 additions & 1 deletion plugins.json
Original file line number Diff line number Diff line change
Expand Up @@ -682,6 +682,68 @@
"branch": "main"
}
]
}
},
{
"name": "@candriajs/karin-plugin-git",
"type": "npm",
"description": "一个Karin版的git仓库订阅推送",
"home": "https://github.com/CandriaJS/karin-plugin-git",
"license": {
"name": "GNU General Public License v3.0",
"url": "https://github.com/CandriaJS/karin-plugin-git/blob/main/LICENSE"
},
"time": "2025-11-09 22:15:00",
"author": [
{
"name": "CandriaJS",
"home": "https://github.com/CandriaJS"
},
{
"name": "shiwuliya",
"home": "https://github.com/shiwuliya"
}
],
"repo": [
{
"type": "npm",
"url": "https://www.npmjs.com/package/@candriajs/karin-plugin-git",
"branch": ""
},
{
"type": "github",
"url": "https://github.com/CandriaJS/karin-plugin-git",
"branch": "main"
}
]
},
Comment on lines +686 to +718

Choose a reason for hiding this comment

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

critical

此插件 @candriajs/karin-plugin-gitplugins.json 文件中已存在(见第 621-652 行)。重复的条目会导致验证失败。请移除这个重复的插件块。

Comment on lines +686 to +718
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

Remove the duplicate plugin entry to avoid ambiguous resolution.

This block duplicates the earlier @candriajs/karin-plugin-git entry (see Line 621 onward), which can lead to non-deterministic selection by consumers. Keep a single entry.

🧹 Proposed fix
-    {
-      "name": "@candriajs/karin-plugin-git",
-      "type": "npm",
-      "description": "一个Karin版的git仓库订阅推送",
-      "home": "https://github.com/CandriaJS/karin-plugin-git",
-      "license": {
-        "name": "GNU General Public License v3.0",
-        "url": "https://github.com/CandriaJS/karin-plugin-git/blob/main/LICENSE"
-      },
-      "time": "2025-11-09 22:15:00",
-      "author": [
-        {
-          "name": "CandriaJS",
-          "home": "https://github.com/CandriaJS"
-        },
-        {
-          "name": "shiwuliya",
-          "home": "https://github.com/shiwuliya"
-        }
-      ],
-      "repo": [
-        {
-          "type": "npm",
-          "url": "https://www.npmjs.com/package/@candriajs/karin-plugin-git",
-          "branch": ""
-        },
-        {
-          "type": "github",
-          "url": "https://github.com/CandriaJS/karin-plugin-git",
-          "branch": "main"
-        }
-      ]
-    },
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
{
"name": "@candriajs/karin-plugin-git",
"type": "npm",
"description": "一个Karin版的git仓库订阅推送",
"home": "https://github.com/CandriaJS/karin-plugin-git",
"license": {
"name": "GNU General Public License v3.0",
"url": "https://github.com/CandriaJS/karin-plugin-git/blob/main/LICENSE"
},
"time": "2025-11-09 22:15:00",
"author": [
{
"name": "CandriaJS",
"home": "https://github.com/CandriaJS"
},
{
"name": "shiwuliya",
"home": "https://github.com/shiwuliya"
}
],
"repo": [
{
"type": "npm",
"url": "https://www.npmjs.com/package/@candriajs/karin-plugin-git",
"branch": ""
},
{
"type": "github",
"url": "https://github.com/CandriaJS/karin-plugin-git",
"branch": "main"
}
]
},
🤖 Prompt for AI Agents
In `@plugins.json` around lines 686 - 718, The file contains a duplicate plugin
object for "name": "@candriajs/karin-plugin-git"; remove the redundant plugin
block (the object that includes "time": "2025-11-09 22:15:00" and the npm/github
"repo" entries) so only one plugin object with that name remains in
plugins.json, and ensure the surrounding JSON remains valid (no trailing comma
left behind).

{
"name": "karin-plugin-iroha",
"type": "npm",
"description": "karin的功能插件",
"home": "https://github.com/dmmdekkd/karin-plugin-iroha",
"license": {
"name": "MIT license",

Choose a reason for hiding this comment

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

medium

为了与项目中其他插件保持一致,建议将许可证名称 MIT license 更改为 MIT

Suggested change
"name": "MIT license",
"name": "MIT",

"url": "https://github.com/dmmdekkd/karin-plugin-iroha/blob/main/LICENSE"
},
"time": "2026-1-28 15:56:00",

Choose a reason for hiding this comment

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

high

时间戳格式不正确。根据项目规范,月份和日期应为两位数字(例如 MMDD)。请将 2026-1-28 修改为 2026-01-28 以符合 YYYY-MM-DD HH:mm:ss 格式。

Suggested change
"time": "2026-1-28 15:56:00",
"time": "2026-01-28 15:56:00",

Comment on lines +720 to +728
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

Normalize the timestamp format (zero‑padded).

Line 728 uses 2026-1-28 ... while other entries use YYYY-MM-DD. If the manifest is parsed or sorted lexicographically, this can cause ordering/parse issues.

🧭 Proposed fix
-      "time": "2026-1-28 15:56:00",
+      "time": "2026-01-28 15:56:00",
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"name": "karin-plugin-iroha",
"type": "npm",
"description": "karin的功能插件",
"home": "https://github.com/dmmdekkd/karin-plugin-iroha",
"license": {
"name": "MIT license",
"url": "https://github.com/dmmdekkd/karin-plugin-iroha/blob/main/LICENSE"
},
"time": "2026-1-28 15:56:00",
"name": "karin-plugin-iroha",
"type": "npm",
"description": "karin的功能插件",
"home": "https://github.com/dmmdekkd/karin-plugin-iroha",
"license": {
"name": "MIT license",
"url": "https://github.com/dmmdekkd/karin-plugin-iroha/blob/main/LICENSE"
},
"time": "2026-01-28 15:56:00",
🤖 Prompt for AI Agents
In `@plugins.json` around lines 720 - 728, Update the "time" value for the plugin
object with "name": "karin-plugin-iroha" in plugins.json to use a zero-padded
month and day (YYYY-MM-DD HH:MM:SS) so it matches the other entries' format;
change "2026-1-28 15:56:00" to "2026-01-28 15:56:00" to normalize the timestamp
for consistent parsing/sorting.

"author": [
{
"name": "dmmdekkd",
"home": "https://github.com/dmmdekkd"
}
],
"repo": [
{
"type": "npm",
"url": "https://www.npmjs.com/package/karin-plugin-iroha",
"branch": ""
},
{
"type": "github",
"url": "https://github.com/dmmdekkd/karin-plugin-iroha",
"branch": "main"
}
]
},
]
}
Loading