[PR #893] [MERGED] feat: Agent Skills 支持执行 scripts #805

Closed
opened 2026-03-02 03:41:49 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/codexu/note-gen/pull/893
Author: @codexu
Created: 2/5/2026
Status: Merged
Merged: 2/5/2026
Merged by: @codexu

Base: devHead: skills-scripts


📝 Commits (6)

  • 73232a6 feat: Agent 调用 skills script
  • e2f859b feat: 实时输出命令行信息
  • 3183fb8 fix: 修复创建文件工具只可以创建 Markdown 的问题
  • e999b8a feat: 执行 Skills scripts 命令
  • c93a4a9 feat: 执行脚本时使用 fullPath 去执行创建的脚本命令
  • 24874ba feat: 优化文件夹内容展示

📊 Changes

23 files changed (+865 additions, -273 deletions)

View changed files

📝 messages/en.json (+1 -2)
📝 messages/ja.json (+1 -1)
📝 messages/pt-BR.json (+1 -2)
📝 messages/zh-TW.json (+1 -1)
📝 messages/zh.json (+1 -1)
📝 src-tauri/capabilities/default.json (+24 -0)
📝 src-tauri/capabilities/desktop.json (+25 -1)
📝 src/app/core/article/custom-footer/vector-calc.tsx (+0 -7)
📝 src/app/core/article/file/file-toolbar.tsx (+6 -6)
📝 src/app/core/article/folder-view.tsx (+41 -60)
📝 src/app/core/record/chat/rag-switch.tsx (+2 -7)
📝 src/app/mobile/chat/components/rag-toggle.tsx (+2 -7)
📝 src/hooks/use-toolbar-shortcuts.ts (+8 -2)
📝 src/lib/agent/react.ts (+16 -7)
📝 src/lib/agent/tools/note-tools.ts (+41 -24)
📝 src/lib/agent/tools/system-tools.ts (+272 -27)
📝 src/lib/rag.ts (+10 -1)
src/lib/skills/dependency-installer.ts (+187 -0)
📝 src/lib/skills/executor.ts (+71 -15)
📝 src/lib/skills/manager.ts (+72 -9)

...and 3 more files

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/codexu/note-gen/pull/893 **Author:** [@codexu](https://github.com/codexu) **Created:** 2/5/2026 **Status:** ✅ Merged **Merged:** 2/5/2026 **Merged by:** [@codexu](https://github.com/codexu) **Base:** `dev` ← **Head:** `skills-scripts` --- ### 📝 Commits (6) - [`73232a6`](https://github.com/codexu/note-gen/commit/73232a6c7559f06c6ec9925d4953e94ba9ce6d99) feat: Agent 调用 skills script - [`e2f859b`](https://github.com/codexu/note-gen/commit/e2f859bdc0751b997fc1a70beda4879a0a3c3b94) feat: 实时输出命令行信息 - [`3183fb8`](https://github.com/codexu/note-gen/commit/3183fb80c3403858bf79fda61fb84d4cb7ac9441) fix: 修复创建文件工具只可以创建 Markdown 的问题 - [`e999b8a`](https://github.com/codexu/note-gen/commit/e999b8a6ecdbe55a6c68310f21d7f7010110f5bc) feat: 执行 Skills scripts 命令 - [`c93a4a9`](https://github.com/codexu/note-gen/commit/c93a4a9ed5863230c2c3ec600ef8fbf473c57e6f) feat: 执行脚本时使用 fullPath 去执行创建的脚本命令 - [`24874ba`](https://github.com/codexu/note-gen/commit/24874ba291dc49494f1ae0eca4ca935d6ad6b60d) feat: 优化文件夹内容展示 ### 📊 Changes **23 files changed** (+865 additions, -273 deletions) <details> <summary>View changed files</summary> 📝 `messages/en.json` (+1 -2) 📝 `messages/ja.json` (+1 -1) 📝 `messages/pt-BR.json` (+1 -2) 📝 `messages/zh-TW.json` (+1 -1) 📝 `messages/zh.json` (+1 -1) 📝 `src-tauri/capabilities/default.json` (+24 -0) 📝 `src-tauri/capabilities/desktop.json` (+25 -1) 📝 `src/app/core/article/custom-footer/vector-calc.tsx` (+0 -7) 📝 `src/app/core/article/file/file-toolbar.tsx` (+6 -6) 📝 `src/app/core/article/folder-view.tsx` (+41 -60) 📝 `src/app/core/record/chat/rag-switch.tsx` (+2 -7) 📝 `src/app/mobile/chat/components/rag-toggle.tsx` (+2 -7) 📝 `src/hooks/use-toolbar-shortcuts.ts` (+8 -2) 📝 `src/lib/agent/react.ts` (+16 -7) 📝 `src/lib/agent/tools/note-tools.ts` (+41 -24) 📝 `src/lib/agent/tools/system-tools.ts` (+272 -27) 📝 `src/lib/rag.ts` (+10 -1) ➕ `src/lib/skills/dependency-installer.ts` (+187 -0) 📝 `src/lib/skills/executor.ts` (+71 -15) 📝 `src/lib/skills/manager.ts` (+72 -9) _...and 3 more files_ </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 03:41:49 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/note-gen#805
No description provided.