@needle-tools/engine
Version:
Needle Engine is a web-based runtime for 3D apps. It runs on your machine for development with great integrations into editors like Unity or Blender - and can be deployed onto any device! It is flexible, extensible and networking and XR are built-in.
23 lines (22 loc) • 1.01 kB
TypeScript
/**
* Needle Engine AI skill installer.
*
* Auto-detects AI coding agents by checking for their config directories
* in the project root, then writes the Needle Engine skill in each agent's
* native format.
*
* Supported agents: Claude Code, GitHub Copilot, Cursor, Codex / universal.
*
* `.agents/skills/needle-engine/` is always created as the canonical skill
* location. SKILL.md and downloaded reference files live there. Other agents
* symlink to it to avoid duplication.
*
* Remote reference files (API docs, templates, etc.) linked from SKILL.md are
* downloaded at install time and stored locally with relative paths.
*
* @param {"build" | "serve"} command
* @param {{} | undefined | null} config
* @param {import('../types/index.js').userSettings} userSettings
* @returns {import('vite').Plugin | null}
*/
export function needleAI(command: "build" | "serve", config: {} | undefined | null, userSettings: import("../types/index.js").userSettings): import("vite").Plugin | null;