Imported from superfly/client-signals (
javascript/AGENTS.md). Install upstream withnpx skills add superfly/client-signals --skill javascript. Copyright stays with the author.
AGENTS.md
JavaScript-specific notes for agents working in javascript/.
Package
This directory contains the private JavaScript package
@fly/client-signals. It is not published to npm; downstream packages vendor
it as a local dependency.
Runtime target: Node.js 20 or newer.
Key files:
src/index.js— runtime implementation and exported API.test/index.test.js— Node test suite, including shared fixture checks.package.json— package metadata and scripts.
Constraints
- No runtime dependencies.
- Keep the package ESM-only unless the user explicitly asks otherwise.
- Do not shell out for parent-process lookup.
detectOnce()must cache the first detected value.- Keep
KNOWN_MARKERSaligned with../spec/markers.json.
Commands
npm test