@neyugn/agent-kits 0.3.7 → 0.3.9
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/README.md +22 -2
- package/README.vi.md +22 -1
- package/README.zh.md +22 -1
- package/dist/cli.js +4 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
<p align="center">
|
|
19
19
|
<a href="#-quick-start">Quick Start</a> •
|
|
20
|
+
<a href="#-important-notes">Important Notes</a> •
|
|
20
21
|
<a href="#-features">Features</a> •
|
|
21
22
|
<a href="#-kits">Kits</a> •
|
|
22
23
|
<a href="#-filter-skill">Filter Skill</a> •
|
|
@@ -59,7 +60,26 @@ That's it! The interactive installer will guide you through:
|
|
|
59
60
|
|
|
60
61
|
<br/>
|
|
61
62
|
|
|
62
|
-
##
|
|
63
|
+
## 📌 Important Notes
|
|
64
|
+
|
|
65
|
+
### Slash commands not appearing in IDE dropdown
|
|
66
|
+
|
|
67
|
+
If `.agent/` (or `.cursor/`, `.opencode/`, etc.) is listed in `.gitignore`, some IDEs will skip indexing files inside it — including the `workflows/` folder that powers slash commands like `/plan`, `/debug`, `/create`.
|
|
68
|
+
|
|
69
|
+
**Fix:** Add a negation rule to force-include the workflows folder:
|
|
70
|
+
|
|
71
|
+
```gitignore
|
|
72
|
+
# Ignore the kit folder (optional)
|
|
73
|
+
.agent/
|
|
74
|
+
|
|
75
|
+
# But always index workflows so slash commands work in the IDE
|
|
76
|
+
!.agent/workflows/
|
|
77
|
+
!.agent/workflows/**
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
> **Recommended:** Remove the kit folder from `.gitignore` entirely and commit it. This is the preferred approach for workspace installations.
|
|
81
|
+
|
|
82
|
+
<br/>
|
|
63
83
|
|
|
64
84
|
### 🎯 One Command, Any Tool
|
|
65
85
|
|
|
@@ -76,7 +96,7 @@ npx @neyugn/agent-kits@latest
|
|
|
76
96
|
│ / ___ \| |_| || |___ | |\ | | | | . \ | | | | ___) | │
|
|
77
97
|
│ /_/ \_\\____||_____||_| \_| |_| |_|\_\|___| |_| |____/ │
|
|
78
98
|
│ │
|
|
79
|
-
│ ⚡ The Universal AI Agent Toolkit ⚡
|
|
99
|
+
│ ⚡ The Universal AI Agent Toolkit ⚡ │
|
|
80
100
|
│ │
|
|
81
101
|
╰──────────────────────────────────────────────────────────────────────────────╯
|
|
82
102
|
|
package/README.vi.md
CHANGED
|
@@ -51,6 +51,27 @@ npx @neyugn/agent-kits@latest
|
|
|
51
51
|
|
|
52
52
|
<br/>
|
|
53
53
|
|
|
54
|
+
## 📌 Lưu ý quan trọng
|
|
55
|
+
|
|
56
|
+
### Slash commands không hiện trong dropdown của IDE
|
|
57
|
+
|
|
58
|
+
Nếu `.agent/` (hoặc `.cursor/`, `.opencode/`, v.v.) bị thêm vào `.gitignore`, một số IDE sẽ bỏ qua việc index các file bên trong — bao gồm cả thư mục `workflows/` là nơi cung cấp các slash commands như `/plan`, `/debug`, `/create`.
|
|
59
|
+
|
|
60
|
+
**Cách khắc phục:** Thêm rule phủ định vào `.gitignore` để buộc index thư mục workflows:
|
|
61
|
+
|
|
62
|
+
```gitignore
|
|
63
|
+
# Bỏ qua thư mục kit (tùy chọn)
|
|
64
|
+
.agent/
|
|
65
|
+
|
|
66
|
+
# Nhưng luôn index workflows để slash commands hoạt động trong IDE
|
|
67
|
+
!.agent/workflows/
|
|
68
|
+
!.agent/workflows/**
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
> **Khuyến nghị:** Xóa thư mục kit khỏi `.gitignore` và commit nó vào repo. Đây là cách tiếp cận được khuyến nghị cho cài đặt workspace.
|
|
72
|
+
|
|
73
|
+
<br/>
|
|
74
|
+
|
|
54
75
|
## ✨ Tính năng
|
|
55
76
|
|
|
56
77
|
### 🎯 Một lệnh, mọi công cụ
|
|
@@ -68,7 +89,7 @@ npx @neyugn/agent-kits@latest
|
|
|
68
89
|
│ / ___ \| |_| || |___ | |\ | | | | . \ | | | | ___) | │
|
|
69
90
|
│ /_/ \_\\____||_____||_| \_| |_| |_|\_\|___| |_| |____/ │
|
|
70
91
|
│ │
|
|
71
|
-
│ ⚡ The Universal AI Agent Toolkit ⚡
|
|
92
|
+
│ ⚡ The Universal AI Agent Toolkit ⚡ │
|
|
72
93
|
│ │
|
|
73
94
|
╯──────────────────────────────────────────────────────────────────────────────╯
|
|
74
95
|
|
package/README.zh.md
CHANGED
|
@@ -51,6 +51,27 @@ npx @neyugn/agent-kits@latest
|
|
|
51
51
|
|
|
52
52
|
<br/>
|
|
53
53
|
|
|
54
|
+
## 📌 重要说明
|
|
55
|
+
|
|
56
|
+
### IDE 下拉菜单中不显示斜杠命令
|
|
57
|
+
|
|
58
|
+
如果 `.agent/`(或 `.cursor/`、`.opencode/` 等)被添加到 `.gitignore` 中,某些 IDE 将跳过对其中文件的索引 — 包括为 `/plan`、`/debug`、`/create` 等斜杠命令提供支持的 `workflows/` 文件夹。
|
|
59
|
+
|
|
60
|
+
**解决方法:** 在 `.gitignore` 中添加否定规则来强制索引 workflows 文件夹:
|
|
61
|
+
|
|
62
|
+
```gitignore
|
|
63
|
+
# 忽略 kit 文件夹(可选)
|
|
64
|
+
.agent/
|
|
65
|
+
|
|
66
|
+
# 但始终索引 workflows,以便 IDE 中的斜杠命令正常工作
|
|
67
|
+
!.agent/workflows/
|
|
68
|
+
!.agent/workflows/**
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
> **推荐:** 将 kit 文件夹从 `.gitignore` 中完全移除并提交它。这是工作区安装的推荐做法。
|
|
72
|
+
|
|
73
|
+
<br/>
|
|
74
|
+
|
|
54
75
|
## ✨ 功能特性
|
|
55
76
|
|
|
56
77
|
### 🎯 一条命令,任何工具
|
|
@@ -68,7 +89,7 @@ npx @neyugn/agent-kits@latest
|
|
|
68
89
|
│ / ___ \| |_| || |___ | |\ | | | | . \ | | | | ___) | │
|
|
69
90
|
│ /_/ \_\\____||_____||_| \_| |_| |_|\_\|___| |_| |____/ │
|
|
70
91
|
│ │
|
|
71
|
-
│ ⚡ The Universal AI Agent Toolkit ⚡
|
|
92
|
+
│ ⚡ The Universal AI Agent Toolkit ⚡ │
|
|
72
93
|
│ │
|
|
73
94
|
╯──────────────────────────────────────────────────────────────────────────────╯
|
|
74
95
|
|
package/dist/cli.js
CHANGED
|
@@ -70,10 +70,10 @@ var AI_TOOLS = [
|
|
|
70
70
|
icon: "\u{1F7E3}",
|
|
71
71
|
path: ".agent",
|
|
72
72
|
globalPathPattern: "~/.agent",
|
|
73
|
-
rulesFile: "GEMINI.md",
|
|
73
|
+
rulesFile: "rules/GEMINI.md",
|
|
74
74
|
kitRulesFile: "GEMINI.md",
|
|
75
75
|
rulesInsideKit: true,
|
|
76
|
-
// Antigravity reads GEMINI.md from
|
|
76
|
+
// Antigravity reads GEMINI.md from .agent/rules/
|
|
77
77
|
available: true
|
|
78
78
|
},
|
|
79
79
|
{
|
|
@@ -497,9 +497,10 @@ var OpenCodeAgentTransformer = class {
|
|
|
497
497
|
const parsed = parseFrontmatter(content);
|
|
498
498
|
const originalData = parsed.data;
|
|
499
499
|
const toolsRecord = this.parseToolsToRecord(originalData.tools);
|
|
500
|
+
const resolvedModel = originalData.model && originalData.model.toLowerCase() !== "inherit" ? originalData.model : void 0;
|
|
500
501
|
const opencodeFrontmatter = {
|
|
501
502
|
description: originalData.description,
|
|
502
|
-
...
|
|
503
|
+
...resolvedModel && { model: resolvedModel },
|
|
503
504
|
...Object.keys(toolsRecord).length > 0 && { tools: toolsRecord }
|
|
504
505
|
};
|
|
505
506
|
const newFrontmatter = this.serializeOpenCodeFrontmatter(opencodeFrontmatter);
|