@mrtrinhvn/ag-kit 1.5.0 → 1.5.2
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/bin/cli.js +18 -6
- package/package.json +2 -2
- package/template/.agent/knowledge/artifacts/claude-code-system-prompt.md +1490 -0
- package/template/.agent/scripts/brain_builder.py +25 -10
- package/template/.agent/skills/ag-kit-core/SKILL.md +23 -2
- package/template/.agent/skills/knowledge-management/SKILL.md +5 -3
- package/template/.agent/skills/memory-architecture/SKILL.md +20 -1
package/bin/cli.js
CHANGED
|
@@ -288,17 +288,29 @@ async function runInteractiveMenu() {
|
|
|
288
288
|
{ name: '❌ Thoát', value: 'exit' }
|
|
289
289
|
);
|
|
290
290
|
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
291
|
+
if (!hasAgent) {
|
|
292
|
+
console.log('\x1b[33m[Auto-Install] Phát hiện dự án chưa cấy ghép, tiến hành Khởi tạo và Đọc Não tự động...\x1b[0m\n');
|
|
293
|
+
await program.parseAsync([process.argv[0], process.argv[1], 'init']);
|
|
294
|
+
console.log('\n\x1b[34m--- TIẾP TỤC QUÉT NÃO (BRAIN BUILDER) ---\x1b[0m\n');
|
|
295
|
+
await program.parseAsync([process.argv[0], process.argv[1], 'brain']);
|
|
296
|
+
|
|
297
|
+
const { resume } = await inquirer.prompt([
|
|
298
|
+
{
|
|
299
|
+
type: 'input',
|
|
300
|
+
name: 'resume',
|
|
301
|
+
message: 'Hoàn tất Auto-Install! Nhấn Enter để vào Menu quản trị...'
|
|
302
|
+
}
|
|
303
|
+
]);
|
|
304
|
+
return runInteractiveMenu();
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
const choices = agentChoices;
|
|
296
308
|
|
|
297
309
|
const { action } = await inquirer.prompt([
|
|
298
310
|
{
|
|
299
311
|
type: 'list',
|
|
300
312
|
name: 'action',
|
|
301
|
-
message:
|
|
313
|
+
message: 'Lõi .agent đã sẵn sàng. Bạn muốn làm gì?',
|
|
302
314
|
choices: choices
|
|
303
315
|
}
|
|
304
316
|
]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mrtrinhvn/ag-kit",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.2",
|
|
4
4
|
"description": "Antigravity Kit Base Framework - Generic Agentic AI Programming Core",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -32,4 +32,4 @@
|
|
|
32
32
|
"commander": "^14.0.3",
|
|
33
33
|
"inquirer": "^8.2.5"
|
|
34
34
|
}
|
|
35
|
-
}
|
|
35
|
+
}
|