Skip to content

feat: persist runtime skill metadata#7225

Merged
c121914yu merged 3 commits into
labring:mainfrom
YYH211:yyh/skill-helper-generation2
Jul 3, 2026
Merged

feat: persist runtime skill metadata#7225
c121914yu merged 3 commits into
labring:mainfrom
YYH211:yyh/skill-helper-generation2

Conversation

@YYH211

@YYH211 YYH211 commented Jun 30, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add runtime skill metadata schemas to Skill versions and current Skill cache
  • parse child SKILL.md metadata during create/import/copy/deploy and keep currentRuntimeSkills in sync
  • show all runtime child skills to HelperBot via the pro submodule update

Tests

  • cd packages/service && pnpm exec vitest run -c vitest.config.ts test/core/ai/skill/zipBuilder.test.ts test/core/ai/skill/controller.test.ts test/core/ai/sandbox/application/skillEdit/deploy.test.ts
  • cd projects/app && pnpm exec vitest run -c vitest.config.ts test/api/core/ai/skill/import.invalidPackage.test.ts

@github-actions

github-actions Bot commented Jun 30, 2026

Copy link
Copy Markdown

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 16.45% 1356 / 8241
🔵 Statements 16.38% 1416 / 8644
🔵 Functions 14.49% 289 / 1994
🔵 Branches 13.38% 622 / 4648
File CoverageNo changed files found.
Generated in workflow #1235 for commit c799999 by the Vitest Coverage Report Action

@YYH211 YYH211 force-pushed the yyh/skill-helper-generation2 branch from adf839a to 6f38b78 Compare June 30, 2026 13:48
@github-actions

github-actions Bot commented Jun 30, 2026

Copy link
Copy Markdown

Admin Preview Image Ready!

ghcr.io/labring/fastgpt-pr:admin_c7999993cee831b6f2e1cea477b0b0911368da48

🕒 Time: 2026-07-03 16:10:24 (UTC+8)

Comment thread packages/global/core/ai/skill/type.ts Outdated
Comment thread packages/service/core/ai/sandbox/application/skillEdit/deploy.ts Outdated
Comment thread packages/service/core/ai/skill/manage/update.ts Outdated
Comment thread packages/service/core/ai/skill/version/schema.ts Outdated
Comment thread packages/service/core/ai/skill/version/types.ts Outdated
@YYH211 YYH211 force-pushed the yyh/skill-helper-generation2 branch from 6f38b78 to ea7dacd Compare July 3, 2026 03:37
@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown

Build Successful - Preview fastgpt Image for this PR:

ghcr.io/labring/fastgpt-pr:fastgpt_c7999993cee831b6f2e1cea477b0b0911368da48

🕒 Time: 2026-07-03 16:13:55 (UTC+8)

@YYH211 YYH211 force-pushed the yyh/skill-helper-generation2 branch from 5605e05 to c799999 Compare July 3, 2026 07:57
@c121914yu c121914yu merged commit 3920b6b into labring:main Jul 3, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants