计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
nodejs-server【效率与协作】Use Porcupine from Node.js server-side JavaScript or TypeScript for file and microphone wake-word detection.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is to run Porcupine from Node.js 18+ in a server, CLI, Electron main-process, or other non-browser JavaScript/TypeScript runtime.
@picovoice/porcupine-node.new Porcupine(accessKey, keywords, sensitivities, options)..ppn keyword file paths.process(frame) and calling release().Porcupine.listAvailableDevices()..node package loading, AccessKey, frame-shape, sensitivity, and lifecycle failures.../web-and-react/SKILL.md..pv selection, platform-specific .ppn assets, and Picovoice Console/API limits: ../custom-keywords-and-assets/SKILL.md.../python-and-cli/SKILL.md.../../references/troubleshooting.md.references/nodejs-api-reference.md for API signatures, built-in keyword names, options, exported helpers, package/build facts, and validation rules.references/nodejs-workflows.md for file WAV and microphone workflow recipes.references/troubleshooting.md before changing code around native loading, AccessKey, keyword arrays, PCM frames, or cleanup.scripts/porcupine_node_file_template.js when a safe starting point for a Node file-detection helper is useful.@picovoice/porcupine-node as a Node-only native package; do not use it in browser bundles.BuiltinKeyword.<NAME> values for built-in English wake words. Use custom .ppn paths only for trained or non-bundled keyword models, and route asset/training decisions to custom-keywords-and-assets.handle.frameLength, handle.sampleRate, mono, 16-bit linear PCM. Use Int16Array in new code.finally block or shutdown handler; release microphone recorders separately.