feat(common): surface skill file path in useSkill tool result - #1776
Open
wsxiaoys wants to merge 1 commit into
Open
feat(common): surface skill file path in useSkill tool result#1776wsxiaoys wants to merge 1 commit into
wsxiaoys wants to merge 1 commit into
Conversation
Allows the agent to resolve sibling resource files relative to the skill directory. 🤖 Generated with [Pochi](https://getpochi.com) | [Task](https://app.getpochi.com/share/p-a54b33c248d440c6bb95d72fc689a7ac) Co-Authored-By: Pochi <noreply@getpochi.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1776 +/- ##
=======================================
Coverage 27.93% 27.94%
=======================================
Files 753 753
Lines 76588 76598 +10
Branches 3076 3080 +4
=======================================
+ Hits 21393 21402 +9
- Misses 54923 54924 +1
Partials 272 272 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
useSkilltool result prompt text.scripts/,references/,assets/) relative to the skill's directory.createUseSkillResultto verify path inclusion and correct fallback behavior.Test plan
bun run test -- src/base/prompts/__tests__/skill.test.ts(verified passing).Context / Background
Here is the error/issue showing why this is needed (before this change, the agent tried to read
pochi://skills/developer-updates/references/FORMAT.mdbut didn't have the resolved path context):🤖 Generated with Pochi | Task