Skip to content

Resolve skills from split npm package installs - #405

Merged
ctate merged 1 commit into
mainfrom
ctate/agent-skills-error-c1ea84c4
Aug 25, 2026
Merged

Resolve skills from split npm package installs#405
ctate merged 1 commit into
mainfrom
ctate/agent-skills-error-c1ea84c4

Conversation

@ctate

@ctate ctate commented Aug 25, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Honor a valid NATIVE_SDK_SKILLS_ROOT first, then NATIVE_SDK_PATH, while falling through empty or invalid candidates.
  • Discover skill payloads next to the executable or in a sibling @native-sdk/cli package, covering checkout, flat bundle, hoisted, and nested optional-dependency layouts.
  • Register a hermetic skills resolver suite in the root test graph and expose it as test-skills-cli.

Why

Platform-specific npm packages can own the Native SDK executable while the main CLI package owns the bundled skills. The previous ancestor-only lookup could not find that sibling payload, so normal split-package installs failed to discover skills. This keeps the payload in the main package while allowing the platform executable to resolve it reliably.

Closes #404

Co-authored-by: fx89757 <165190761+fx89757@users.noreply.github.com>
@vercel

vercel Bot commented Aug 25, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
native-sdk Ready Ready Preview, v0 Aug 25, 2026 1:22pm
native-sdk-schema Ready Ready Preview, v0 Aug 25, 2026 1:22pm

@ctate
ctate merged commit 86fc001 into main Aug 25, 2026
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

agent skills ERROR

2 participants