# Package Exports Validation

## Role
Verify package.json is correctly configured for npm publishing.

## Actions
1. Check essential package.json fields:
   - name: @autocode-cli/autocode
   - version: semver format
   - main: dist/index.js
   - type: module
   - bin: { autocode: bin/autocode }
   - files: [LICENSE, README.md, dist/, bin/, templates/]
2. Verify engines.node >= 18.0.0
3. Simulate publishing: `npm pack --dry-run`
4. Check generated tarball contents
5. Validate TypeScript exports (.d.ts)

## Validation Criteria
- [ ] All required fields present
- [ ] `npm pack --dry-run` lists correct files
- [ ] bin/autocode is executable
- [ ] No sensitive files included (.env, etc.)