Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

SDK 101 starter: Node.js

Requires Node.js 22.12 or newer and authenticated Copilot access.

From the workshop repository root:

cd start-intro/nodejs
npm ci

Open this folder in your editor (code .) and edit src/index.ts by following the four numbered edits in LIVE_DEMO.md, Act One. Then run:

npm start

The untouched entrypoint is deliberately incomplete, not a working hello world. Continue with Act Two in the same guide for the podcast agent. Reuse src/github-podcast-tools.ts, src/model-selector.ts, and src/permission-prompt.ts without editing them.

Run npm run build to type-check without sending a Copilot prompt. Run npm test for RSS parsing regressions using mocked feed responses, without Copilot authentication or network requests. See preflight for access checks and troubleshooting, and the official Node.js SDK API for reference.