# Project Rename Summary: lark-dashboard-sdk → hype-dash
## Completed Changes (2025-12-09)
### 1. Package Configuration
- ✅ **package.json**
- Changed `"name"` from `"@hypelab/lark-dashboard-sdk"` to `"@hypelab/hype-dash"`
- Updated repository URL: `https://github.com/hypelab/hype-dash`
- Updated bugs URL: `https://github.com/hypelab/hype-dash/issues`
- Updated homepage: `https://github.com/hypelab/hype-dash#readme`
- Changed bin command from `"lark-dashboard-mcp"` to `"hype-dash-mcp"`
### 2. Directory Rename
- ✅ Renamed `/Users/mdch/lark-dashboard-sdk` → `/Users/mdch/hype-dash`
### 3. Documentation Updates
- ✅ **README.md**
- Updated title to "Hype Dash"
- Changed all npm badges and links to use `@hypelab/hype-dash`
- Updated GitHub URLs to `github.com/hypelab/hype-dash`
- Updated all import statements in code examples
- Updated MCP configuration examples
- ✅ **QUICK_REFERENCE.md**
- Updated installation command
- Changed all import statements
- Updated example file path references
- ✅ **src/block/README.md**
- Updated import statement: `@hypelab/hype-dash/block`
- ✅ **All other markdown files**
- Updated file path references from `/Users/mdch/lark-dashboard-sdk` to `/Users/mdch/hype-dash`
- Updated GitHub repository URLs
### 4. Cloudflare Workers Configuration
- ✅ **wrangler.toml**
- Changed worker name: `"lark-chart-block"` → `"hype-dash-chart-block"`
- Updated dev environment: `"lark-chart-block-dev"` → `"hype-dash-chart-block-dev"`
- Updated production environment name
### 5. Source Code Updates
- ✅ **src/block/index.ts**
- Updated module documentation from `@hypelab/lark-dashboard-sdk/block` to `@hypelab/hype-dash/block`
### 6. Build Verification
- ✅ Successfully ran `npm run build` with no errors
- ✅ TypeScript compilation completed successfully
- ✅ No remaining references to old package name in source files
## Summary of Changes
### Files Modified
1. `/Users/mdch/hype-dash/package.json`
2. `/Users/mdch/hype-dash/README.md`
3. `/Users/mdch/hype-dash/QUICK_REFERENCE.md`
4. `/Users/mdch/hype-dash/wrangler.toml`
5. `/Users/mdch/hype-dash/src/block/README.md`
6. `/Users/mdch/hype-dash/src/block/index.ts`
7. All markdown files in root directory (path updates)
8. All markdown files in `/docs` (path and URL updates)
9. All shell scripts in `/scripts` (path updates)
### Package Name Changes
- **Old**: `@hypelab/lark-dashboard-sdk`
- **New**: `@hypelab/hype-dash`
### Repository URL Changes
- **Old**: `https://github.com/hypelab/lark-dashboard-sdk`
- **New**: `https://github.com/hypelab/hype-dash`
### Binary Command Changes
- **Old**: `lark-dashboard-mcp`
- **New**: `hype-dash-mcp`
### Worker Name Changes
- **Old**: `lark-chart-block`
- **New**: `hype-dash-chart-block`
## Next Steps
1. **Git Operations** (if using version control):
```bash
cd /Users/mdch/hype-dash
git add .
git commit -m "Rename project from lark-dashboard-sdk to hype-dash"
```
2. **Update Remote Repository** (if needed):
- Update GitHub repository name to `hype-dash`
- Update any CI/CD configurations
- Update any deployment scripts
3. **NPM Publishing** (when ready):
```bash
npm publish --access public
```
4. **MCP Configuration Update**:
Update `~/.claude.json` or Claude Code configuration:
```json
{
"mcpServers": {
"hype-dash": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@hypelab/hype-dash"],
"env": {
"LARK_API_KEY": "your-api-key-here",
"LARK_REGION": "sg"
}
}
}
}
```
## Verification Checklist
- ✅ Package name updated in package.json
- ✅ Directory renamed
- ✅ All documentation updated
- ✅ Import statements updated
- ✅ Cloudflare Workers configuration updated
- ✅ Build succeeds without errors
- ✅ No old package name references in source code
- ✅ GitHub URLs updated
- ✅ File paths updated in documentation
## Status: COMPLETE ✅
All rename operations completed successfully. The project is now ready to use as `@hypelab/hype-dash`.